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()}' "
|
||||
else:
|
||||
comment = ""
|
||||
if waldata["cave"]:
|
||||
if "cave" in waldata:
|
||||
label = waldata["cave"]
|
||||
else:
|
||||
if waldata["name"]:
|
||||
if "name" in waldata:
|
||||
label = waldata["name"]
|
||||
else:
|
||||
label = ""
|
||||
|
Loading…
Reference in New Issue
Block a user