1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Refactor: Split update_config() and avoid importing logger

This commit is contained in:
LmeSzinc
2022-05-01 10:22:14 +08:00
parent d81a86923d
commit 17243e74f6
7 changed files with 79 additions and 32 deletions

View File

@@ -2,8 +2,6 @@ import time
from datetime import datetime, timedelta
from functools import wraps
from module.logger import logger
def timer(function):
@wraps(function)
@@ -146,4 +144,5 @@ class Timer:
time.sleep(diff)
def show(self):
from module.logger import logger
logger.info('%s s' % str(self.current()))