aboutsummaryrefslogtreecommitdiff
path: root/stackbin.py
diff options
context:
space:
mode:
Diffstat (limited to 'stackbin.py')
-rwxr-xr-xstackbin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/stackbin.py b/stackbin.py
index 4c0d164..bcfd3d5 100755
--- a/stackbin.py
+++ b/stackbin.py
@@ -10,7 +10,7 @@ from pytimeparse.timeparse import timeparse # python3-pytimeparse
try:
from uwsgidecorators import timer # python3-uwsgidecorators
except:
- pass
+ print("Warning! Without uwsgidecorators, the cleanup timer cannot run.")
import time
## ripped from https://stackoverflow.com/questions/183042/how-can-i-use-uuids-in-sqlalchemy/812363#812363
@@ -284,5 +284,4 @@ def favicon():
abort(404)
if __name__ == "__main__":
- manager.add_command('runserver', Server(host=app.config["APP_HOST"], port=app.config["APP_PORT"]))
app.run()
bgstack15