added setup.py

This commit is contained in:
Marvin Zhang
2019-03-03 10:48:04 +08:00
parent d26f43e09e
commit 8361c04de9
151 changed files with 21609 additions and 10 deletions

2
app.py
View File

@@ -49,7 +49,7 @@ api.add_resource(StatsApi,
'/api/stats/<string:action>')
# create folder if it does not exist
if os.path.exists(PROJECT_LOGS_FOLDER):
if not os.path.exists(PROJECT_LOGS_FOLDER):
os.makedirs(PROJECT_LOGS_FOLDER)
if __name__ == '__main__':