Remove regex warning
This commit is contained in:
parent
4f9fdbe34a
commit
d26464130c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ api_app = FastAPI(
|
|||
default_response_class=responses.ORJSONResponse,
|
||||
)
|
||||
|
||||
re_findmimetype = re.compile('^data:(\S+);') # type: ignore
|
||||
re_findmimetype = re.compile(r'^data:(\S+);') # type: ignore
|
||||
|
||||
attachment_types: dict[str, type[Tree] | type[Trail] | type[POI]] = {
|
||||
'tree': Tree,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue