Better error messaged and url

This commit is contained in:
2022-03-29 15:31:25 +01:00
parent efeb0efd1e
commit 7f16bca7f7
2 changed files with 6 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ def scanupload(request, path=None):
if int(wnumber) == 0:
prev = f'{int(wnumber):02d}'
wurl = f"/scanupload/{wallet}"
wurl = f"/scanupload/{wallet}".replace('#', ':')
wallet = wallet.replace(':','#')
dirpath = Path(settings.SURVEY_SCANS, year, wallet)
contents_path = dirpath / contentsjson