mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-19 05:33:47 +01:00
fix: mypy
This commit is contained in:
parent
1d0fcaa579
commit
d7e7d89e9a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user