diff --git a/core/views/uploads.py b/core/views/uploads.py index 358c6db..091534a 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -97,7 +97,7 @@ xlate = {"url": "description url", "survex": "survex file", } -def get_complaints(complaints, waldata, svxfiles, files): +def get_complaints(complaints, waldata, svxfiles, files, wallet, wurl): '''Taken from old script wallets.py and edited to make more comprehensible Loads the survex files names and processes all complaints ''' @@ -377,7 +377,7 @@ def scanupload(request, path=None): #Survex and survex complaints - complaints, caveobject = get_complaints([], waldata, svxfiles, files) + complaints, caveobject = get_complaints([], waldata, svxfiles, files, wallet, wurl) for f in checkboxes: