2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

fix exception?

This commit is contained in:
Philip Sargent 2023-07-14 11:26:47 +02:00
parent 26e96839e4
commit dc06744444

View File

@ -240,7 +240,7 @@ def get_complaints(complaints, waldata, svxfiles, files, wallet, wurl):
caveid = caveid # ?urk? why?
try:
caveobject = getCave(caveid) # may fail if garbage value ,e.g. space, in wallet data
except MultipleObjectsReturned:
except:
caveobject = None
print(f'getCave for id "{waldata["cave"]}" {caveobject}')
# if not caveobject.url == waldata["description url"]: