提交 32c49c08 编写于 作者: L liuzheng712

update

上级 d371c0c5
......@@ -5,11 +5,9 @@ import errno
if __name__ == "__main__":
try:
os.makedirs('./logs')
except OSError as exc: # Python > 2.5 (except OSError, exec: for Python < 2.5)
if exc.errno == errno.EEXIST and os.path.isdir('./logs'):
os.makedirs('../logs')
except:
pass
else: raise
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jumpserver.settings")
try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册