From 75d6e39dcaa27f0404e606a188fa4de46cae91f9 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 14 Feb 2022 15:42:18 -0500 Subject: add initial centos7 doc --- stackbin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stackbin.py') 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() -- cgit