forked from expo/troggle
bugfix in new wallet
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user