fix a little error

parent c87d1e8d
...@@ -60,7 +60,7 @@ class Logger(object): ...@@ -60,7 +60,7 @@ class Logger(object):
""" """
if config.get('use_log', 'false') == 'false': if config.get('use_log', 'false') == 'false':
return return
dir = DATA_PATH+'logs/' dir = DATA_HOME+'logs/'
try: try:
makedirs(dir) makedirs(dir)
except OSError: except OSError:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment