提交 95eb9186 编写于 作者: S solarhu 提交者: Gitee

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

Merge pull request !27 from 包成强/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册