Made timezone configurable
This commit is contained in:
parent
fad54a6472
commit
742c556d65
2
game.py
2
game.py
|
@ -16,7 +16,7 @@ config = ConfigParser()
|
|||
config.read('config.ini')
|
||||
logging.basicConfig(encoding='utf-8', level=logging.INFO, format='%(message)s')
|
||||
logger = logging.getLogger('waitress')
|
||||
tz = pytz.timezone(config.get('main', 'timezone')
|
||||
tz = pytz.timezone(config.get('main', 'timezone'))
|
||||
|
||||
@app.after_request
|
||||
def log_the_request(response):
|
||||
|
|
Loading…
Reference in New Issue