mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-11-14 11:14:56 -05:00
Fix logs path
This commit is contained in:
parent
d98f79629b
commit
e64c544d38
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class Mtk_Config(metaclass=LogBase):
|
|||
self.dram = None
|
||||
self.otp = None
|
||||
if loglevel == logging.DEBUG:
|
||||
logfilename = os.path.join(self.hwparam_path, "log.txt")
|
||||
logfilename = os.path.join("logs", "log.txt")
|
||||
fh = logging.FileHandler(logfilename)
|
||||
self.__logger.addHandler(fh)
|
||||
self.__logger.setLevel(logging.DEBUG)
|
||||
|
|
Loading…
Reference in a new issue