forked from expo/troggle
bugfix
This commit is contained in:
parent
f33c6cc057
commit
9220dbf2e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user