summaryrefslogtreecommitdiffstats
path: root/core/views/scans.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/scans.py')
-rw-r--r--core/views/scans.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/views/scans.py b/core/views/scans.py
index 6e380c2..9bf1edc 100644
--- a/core/views/scans.py
+++ b/core/views/scans.py
@@ -20,11 +20,14 @@ need to check if inavlid query string is invalid, or produces multiple replies
and render a user-friendly error page.
'''
-def singlewallet(request, path):
- #print [ s.walletname for s in Wallet.objects.all() ]
+def oldwallet(request, path):
+ '''Now called only for non-standard wallet structures for pre-2000 wallets
+ '''
+ # print([ s.walletname for s in Wallet.objects.all() ])
+ print(f'! - oldwallet path:{path}')
try:
wallet = Wallet.objects.get(walletname=urlunquote(path))
- return render(request, 'wallet.html', { 'wallet':wallet, 'settings': settings })
+ return render(request, 'wallet_old.html', { 'wallet':wallet, 'settings': settings })
except:
message = f'Scan folder error or not found \'{path}\' .'
return render(request, 'errors/generic.html', {'message': message})