can run exe file
This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
||||
import datetime
|
||||
import logging
|
||||
|
||||
import definitions
|
||||
from definitions import LOGS_DIR
|
||||
|
||||
|
||||
def init_logger():
|
||||
logging.basicConfig(filename=definitions.ROOT_DIR + "/appointment_{}.log".format(str(datetime.date.today())),
|
||||
logging.basicConfig(filename=LOGS_DIR + "/appointment_{}.log".format(str(datetime.date.today())),
|
||||
filemode='a',
|
||||
format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
|
||||
datefmt='%Y-%m-%d %H:%M:%S',
|
||||
|
||||
Reference in New Issue
Block a user