forked from expo/troggle
bugfix
This commit is contained in:
parent
e195497829
commit
a30a2b9ef9
@ -274,10 +274,10 @@ def scanupload(request, path=None):
|
|||||||
comment = f"on dev machine '{socket.gethostname()}' "
|
comment = f"on dev machine '{socket.gethostname()}' "
|
||||||
else:
|
else:
|
||||||
comment = ""
|
comment = ""
|
||||||
if waldata["cave"]:
|
if "cave" in waldata:
|
||||||
label = waldata["cave"]
|
label = waldata["cave"]
|
||||||
else:
|
else:
|
||||||
if waldata["name"]:
|
if "name" in waldata:
|
||||||
label = waldata["name"]
|
label = waldata["name"]
|
||||||
else:
|
else:
|
||||||
label = ""
|
label = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user