Fix for issue #1

Not sure why, but this seems to have disappeared somewhere along the way. Probably when I moved from a looping thread to a timer.
This commit is contained in:
Dominik V. Salonen 2016-02-14 12:22:26 +01:00
parent 124b057cff
commit 5a33a3847a
1 changed files with 4 additions and 3 deletions

3
run.py
View File

@ -176,8 +176,9 @@ def nginx_error(error):
return error_page(error="We literally have no idea what just happened", code="Unknown")
if config["DELETE_FILES"]:
cleaner_thread()
cleaner_thread()
if __name__ == '__main__':
app.run(
port=config["PORT"],