05/22 Fix app error after deloying license system

This commit is contained in:
2026-05-22 17:03:12 -04:00
parent 18392bf5cd
commit 9bd76dcc91
+1 -1
View File
@@ -147,7 +147,7 @@ def create_app(config_name=None):
# ── Context processors ────────────────────────────────────────────────────
@app.context_processor
def inject_globals():
from flask import has_request_context
from flask import has_request_context, current_app
from flask_login import current_user
from app.models import SystemSetting
unread = 0