jhao %!s(int64=7) %!d(string=hai) anos
pai
achega
d0ef49a5d6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Util/LogHandler.py

+ 3 - 0
Util/LogHandler.py

@@ -33,6 +33,9 @@ CURRENT_PATH = os.path.dirname(os.path.abspath(__file__))
 ROOT_PATH = os.path.join(CURRENT_PATH, os.pardir)
 LOG_PATH = os.path.join(ROOT_PATH, 'log')
 
+if not os.path.exists(LOG_PATH):
+    os.mkdir(LOG_PATH)
+
 
 class LogHandler(logging.Logger):
     """