mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-28 23:25:01 +08:00
修复log无法显示的bug
This commit is contained in:
@@ -7,8 +7,6 @@ def setup_logger():
|
||||
DATE_FORMAT = "%Y-%m-%d %X"
|
||||
LOGGING_FORMAT = "%(asctime)s %(levelname)s: %(message)s"
|
||||
logging.basicConfig(
|
||||
filename=settings.log_path,
|
||||
filemode="w",
|
||||
level=level,
|
||||
datefmt=DATE_FORMAT,
|
||||
format=LOGGING_FORMAT,
|
||||
|
||||
Reference in New Issue
Block a user