From dc067444447c5382c0ff6b925af9843761d2cff2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 14 Jul 2023 11:26:47 +0200 Subject: [PATCH] fix exception? --- core/views/wallets_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/wallets_edit.py b/core/views/wallets_edit.py index 2387123..7cf2251 100644 --- a/core/views/wallets_edit.py +++ b/core/views/wallets_edit.py @@ -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"]: