Fix logging path, needs absolute path

This commit is contained in:
Pavol Ipoth 2018-12-22 13:13:15 +01:00
parent c1f5d76c6c
commit 1ca311e120

View File

@ -4,7 +4,7 @@ basedir = os.path.abspath(os.path.dirname(__file__))
# BASIC APP CONFIG
SECRET_KEY = 'changeme'
LOG_LEVEL = 'DEBUG'
LOG_FILE = 'logs/log.txt'
LOG_FILE = os.path.join(basedir, 'logs/log.txt')
# TIMEOUT - for large zones
TIMEOUT = 10