Fix exit on missing flask-wtf

This commit is contained in:
Ozzie Isaacs 2021-10-16 18:42:26 +02:00
parent cea10d3945
commit e060c62742

View File

@ -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)