fix: Load arg get returns None which causes exception
All checks were successful
Build Docker / BuildImage (push) Successful in 1m12s
All checks were successful
Build Docker / BuildImage (push) Successful in 1m12s
This commit is contained in:
@@ -539,8 +539,8 @@ def index():
|
|||||||
if request.cookies.get("loaded"):
|
if request.cookies.get("loaded"):
|
||||||
loaded = True
|
loaded = True
|
||||||
|
|
||||||
# Always load if load=true is in the query string
|
# Always load if load is in the query string
|
||||||
if request.args.get("load").lower() == "true":
|
if request.args.get("load"):
|
||||||
loaded = False
|
loaded = False
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user