From e060c62742185e516cc0460b24e07d22aa9e0ca1 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 16 Oct 2021 18:42:26 +0200 Subject: [PATCH] Fix exit on missing flask-wtf --- cps/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/__init__.py b/cps/__init__.py index a6305f0a..a8d6233b 100644 --- a/cps/__init__.py +++ b/cps/__init__.py @@ -119,7 +119,7 @@ def create_app(): if not wtf_present: log.info('*** "flask-WTF" is needed for calibre-web to run. Please install it using pip: "pip install flask-WTF" ***') print('*** "flask-WTF" is needed for calibre-web to run. Please install it using pip: "pip install flask-WTF" ***') - # sys.exit(7) + sys.exit(7) app.wsgi_app = ReverseProxied(app.wsgi_app)