mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-11-15 03:35:00 -05:00
Merge branch 'main' of https://github.com/bkerler/mtkclient
This commit is contained in:
commit
3ee080f8bf
1 changed files with 0 additions and 2 deletions
|
@ -1305,8 +1305,6 @@ class Mtk_Config(metaclass=LogBase):
|
|||
self.chipconfig = chipconfig()
|
||||
if loglevel == logging.DEBUG:
|
||||
logfilename = os.path.join("logs", "log.txt")
|
||||
if os.path.exists(logfilename):
|
||||
os.remove(logfilename)
|
||||
fh = logging.FileHandler(logfilename)
|
||||
self.__logger.addHandler(fh)
|
||||
self.__logger.setLevel(logging.DEBUG)
|
||||
|
|
Loading…
Reference in a new issue