mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-29 00:06:19 +01:00
Import escape function directly from markupsafe (#9858)
Adds a direct dependency on markupsafe, instead of relying on the implicit dependency via Flask. This is in preparation of Flask 3.0 support, which will drop compat for importing escape indirectly.
This commit is contained in:
parent
dd3dc7949a
commit
5720b63d70
@ -1,6 +1,7 @@
|
||||
click == 8.1.*
|
||||
Flask == 2.3.*
|
||||
imutils == 0.5.*
|
||||
markupsafe == 2.1.*
|
||||
matplotlib == 3.7.*
|
||||
mypy == 1.6.1
|
||||
numpy == 1.23.*
|
||||
|
@ -24,11 +24,11 @@ from flask import (
|
||||
Flask,
|
||||
Response,
|
||||
current_app,
|
||||
escape,
|
||||
jsonify,
|
||||
make_response,
|
||||
request,
|
||||
)
|
||||
from markupsafe import escape
|
||||
from peewee import DoesNotExist, fn, operator
|
||||
from playhouse.shortcuts import model_to_dict
|
||||
from playhouse.sqliteq import SqliteQueueDatabase
|
||||
|
Loading…
Reference in New Issue
Block a user