修复一些PyCharm警告

This commit is contained in:
John Smith
2021-07-17 13:03:45 +08:00
parent 335248c076
commit 6a4faa83a4
6 changed files with 16 additions and 12 deletions

View File

@@ -60,6 +60,7 @@ def init_logging(debug):
file_handler = logging.handlers.TimedRotatingFileHandler(
LOG_FILE_NAME, encoding='utf-8', when='midnight', backupCount=7, delay=True
)
# noinspection PyArgumentList
logging.basicConfig(
format='{asctime} {levelname} [{name}]: {message}',
datefmt='%Y-%m-%d %H:%M:%S',