diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-03-18 11:28:35 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-03-18 11:28:35 +0000 |
commit | af7fc8f2437911ac52d8243cb5d6379de3a2dd51 (patch) | |
tree | beafb0e6bbe4ee57769f66191b27bf13edc6c76f /core/views/scans.py | |
parent | e4ee4abce8c50f7b574b7debf09a34931cd5c7f3 (diff) | |
download | troggle-af7fc8f2437911ac52d8243cb5d6379de3a2dd51.tar.gz troggle-af7fc8f2437911ac52d8243cb5d6379de3a2dd51.tar.bz2 troggle-af7fc8f2437911ac52d8243cb5d6379de3a2dd51.zip |
use new upload page for most wallets
Diffstat (limited to 'core/views/scans.py')
-rw-r--r-- | core/views/scans.py | 9 |
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}) |