2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 21:17:07 +00:00

regularising _URL and _ROOT idiom

This commit is contained in:
Philip Sargent
2022-04-18 22:48:49 +03:00
parent ccd386ff4e
commit 3813b21dcf
6 changed files with 11 additions and 9 deletions

View File

@@ -141,7 +141,7 @@ def scanupload(request, path=None):
wurl = f"/scanupload/{wallet}".replace('#', ':')
wallet = wallet.replace(':','#')
dirpath = Path(settings.SURVEY_SCANS, year, wallet)
dirpath = Path(settings.SCANS_ROOT, year, wallet)
contents_path = dirpath / contentsjson
walletdata = dirpath / contentsjson