mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 22:47:05 +01:00
fix: mypy
This commit is contained in:
parent
1d0fcaa579
commit
d7e7d89e9a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue