From 4dab950efce1eaf9df1068d6e335b168d7ca965a Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Fri, 24 Nov 2023 09:28:21 -0500 Subject: [PATCH] Reverting a bad change I made to remove a deprecated feature that is removed in Flask 2.3. --- powerdnsadmin/routes/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/index.py b/powerdnsadmin/routes/index.py index aaf2ed3..23d88bb 100644 --- a/powerdnsadmin/routes/index.py +++ b/powerdnsadmin/routes/index.py @@ -46,7 +46,7 @@ index_bp = Blueprint('index', url_prefix='/') -@index_bp.record_once +@index_bp.before_app_first_request def register_modules(): global google global github