forked from expo/troggle
fix exception?
This commit is contained in:
parent
26e96839e4
commit
dc06744444
@ -240,7 +240,7 @@ def get_complaints(complaints, waldata, svxfiles, files, wallet, wurl):
|
|||||||
caveid = caveid # ?urk? why?
|
caveid = caveid # ?urk? why?
|
||||||
try:
|
try:
|
||||||
caveobject = getCave(caveid) # may fail if garbage value ,e.g. space, in wallet data
|
caveobject = getCave(caveid) # may fail if garbage value ,e.g. space, in wallet data
|
||||||
except MultipleObjectsReturned:
|
except:
|
||||||
caveobject = None
|
caveobject = None
|
||||||
print(f'getCave for id "{waldata["cave"]}" {caveobject}')
|
print(f'getCave for id "{waldata["cave"]}" {caveobject}')
|
||||||
# if not caveobject.url == waldata["description url"]:
|
# if not caveobject.url == waldata["description url"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user