diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,7 @@ import re import sys import time, datetime # import traceback +import logging from SteamAPI import SteamAPI from QueryServer import QueryServer @@ -208,6 +209,8 @@ def server(): if __name__ == '__main__': # print(steam.getFriends("76561197963063991")) # print(steam.getFriends("76561197963882989")) + logging.basicConfig(filename='./main.log', level=logging.INFO) + app.config['TEMPLATES_AUTO_RELOAD'] = True app.run(threaded=True) |