diff --git a/mtkclient/config/brom_config.py b/mtkclient/config/brom_config.py index 7bc67d0..56835a2 100755 --- a/mtkclient/config/brom_config.py +++ b/mtkclient/config/brom_config.py @@ -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)