diff --git a/frigate/http.py b/frigate/http.py index c5e5a1f9a..84a8c855e 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -18,7 +18,6 @@ from flask import ( Flask, Response, current_app, - g, jsonify, make_response, request, @@ -37,11 +36,6 @@ logger = logging.getLogger(__name__) bp = Blueprint("frigate", __name__) -@bp.url_value_preprocessor -def unquote_label(endpoint, values): - g.label = unquote(values.pop("label", "")) - - def create_app( frigate_config, database: SqliteDatabase, @@ -347,8 +341,9 @@ def event_thumbnail(id, max_cache_age=2592000): @bp.route("//