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:
parent
124b057cff
commit
5a33a3847a
3
run.py
3
run.py
|
@ -176,8 +176,9 @@ def nginx_error(error):
|
||||||
return error_page(error="We literally have no idea what just happened", code="Unknown")
|
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__':
|
if __name__ == '__main__':
|
||||||
app.run(
|
app.run(
|
||||||
port=config["PORT"],
|
port=config["PORT"],
|
||||||
|
|
Loading…
Reference in New Issue