mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-15 11:00:01 +08:00
修复日志记录问题
This commit is contained in:
@@ -37,7 +37,9 @@ class DownloadClient:
|
||||
|
||||
def __enter__(self):
|
||||
if not self.authed:
|
||||
logger.debug("Authing to downloader...")
|
||||
self.auth()
|
||||
logger.debug("Authed.")
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
|
||||
Reference in New Issue
Block a user