summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.py b/main.py
index 187ceec..1583184 100755
--- a/main.py
+++ b/main.py
@@ -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)