bugfix in new wallet

This commit is contained in:
Philip Sargent
2022-08-06 22:23:39 +03:00
parent 186eb20fb3
commit f33c6cc057
3 changed files with 9 additions and 4 deletions

View File

@@ -248,8 +248,8 @@ def scanupload(request, path=None):
wurl = f"/scanupload/{wallet}".replace('#', ':')
wallet = wallet.replace(':','#')
dirpath = Path(settings.SCANS_ROOT, year, wallet)
contents_path = dirpath / contentsjson
walletdata = dirpath / contentsjson
#contents_path = dirpath / contentsjson
contents_path = Path(settings.DRAWINGS_DATA, "walletjson") / year / wallet / contentsjson
form = FilesForm()