提交 da89bc1b 编写于 作者: B bcq

解决缺陷扫描报告的Attribute '__file_handler' defined outside __init__问题

上级 42f0c6ba
......@@ -53,6 +53,7 @@ class Log():
def __init__(self, name=__name__, path=None):
self.__name = name
self.__path = path
self.__file_handler = None
if self.__path is None:
self.__path = READCONFIG.get_system('log_path')
log_name = READCONFIG.get_config('LOG', 'log_name')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册