fix: mypy

This commit is contained in:
Vlad Stan 2023-04-05 19:03:14 +03:00
parent 1d0fcaa579
commit d7e7d89e9a

View File

@ -68,7 +68,7 @@ class InstalledExtensionMiddleware:
return True
q = parse_qs(scope["query_string"].decode("UTF-8"))
user = q.get("usr", [None])[0]
user = q.get("usr", [""])[0]
if not user:
return True