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
7
run.py
7
run.py
|
@ -176,11 +176,12 @@ def nginx_error(error):
|
|||
return error_page(error="We literally have no idea what just happened", code="Unknown")
|
||||
|
||||
|
||||
|
||||
cleaner_thread()
|
||||
if config["DELETE_FILES"]:
|
||||
cleaner_thread()
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(
|
||||
port=config["PORT"],
|
||||
host=config["HOST"],
|
||||
debug=config["DEBUG"]
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue