From 3e869ae76ab13f9c30cf129eeb5dac4dc6e3b3c7 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 21 Jul 2022 09:40:35 +0300 Subject: [PATCH] fix variables needed for error message --- core/views/uploads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: