2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-05-07 02:00:32 +01:00
This commit is contained in:
Philip Sargent
2022-08-07 22:52:29 +03:00
parent f33c6cc057
commit 9220dbf2e6
+6 -1
View File
@@ -102,7 +102,12 @@ def get_complaints(complaints, waldata, svxfiles, files, wallet, wurl):
Loads the survex files names and processes all complaints
'''
w = Wallet.objects.get(walletname=wallet)
# If skipping through the wllets on the upload form, the wallet may not yet exist
try:
w = Wallet.objects.get(walletname=wallet)
except ObjectDoesNotExist:
return None, None
ticks = w.get_ticks()
# Date