liqian před 2 roky
rodič
revize
d433025bca
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2 3
      log.py

+ 2 - 3
log.py

@@ -5,7 +5,7 @@ import time
 import logging.config
 from log_conf import conf
 
-
+"""
 class Log(object):
     def __init__(self):
         # 配置
@@ -36,9 +36,9 @@ class Log(object):
 
     def error(self, message):
         self.__console('error', message)
+"""
 
 
-"""
 class Log(object):
     # def __init__(self, pag_source, log_path=os.path.join(os.path.dirname(os.path.realpath(__file__)), "logs")):
     def __init__(self, log_path=os.path.join(os.path.dirname(os.path.realpath(__file__)), "logs")):
@@ -92,4 +92,3 @@ class Log(object):
 
     def error(self, message):
         self.__console('error', message)
-"""