diff options
author | B Stack <bgstack15@gmail.com> | 2022-02-14 15:42:18 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2022-02-14 15:42:18 -0500 |
commit | 75d6e39dcaa27f0404e606a188fa4de46cae91f9 (patch) | |
tree | 3377f78bd332e2c93e8dfc262f92918284a664cc /stackbin.py | |
parent | suppress favicon errors (diff) | |
download | stackbin-75d6e39dcaa27f0404e606a188fa4de46cae91f9.tar.gz stackbin-75d6e39dcaa27f0404e606a188fa4de46cae91f9.tar.bz2 stackbin-75d6e39dcaa27f0404e606a188fa4de46cae91f9.zip |
add initial centos7 doc
Diffstat (limited to 'stackbin.py')
-rwxr-xr-x | stackbin.py | 3 |
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() |