From 4a349865986f8f6287659f3868a6bc6bf209def8 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 6 Oct 2022 21:03:14 +0300 Subject: [PATCH] error msg fix --- core/views/scans.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/views/scans.py b/core/views/scans.py index 5269d0b..aea8559 100644 --- a/core/views/scans.py +++ b/core/views/scans.py @@ -208,8 +208,8 @@ def cavewallets(request, caveid): wallets.add(z) else: wurl = f"/scanupload/{z.walletname.replace('#',':')}" - print(f' - Unrecognised cave name \'{zcaveid}\' in {z.walletname} (out of {len(Gcavelookup):,} cave names and aliases)') - message = f" ! In {z.walletname} there is an unrecognised cave name '{zcaveid}' (out of {len(Gcavelookup):,} cave names" + message = f" ! In {z.walletname} there is an unrecognised cave name '{zcaveid}' (out of {len(Gcavelookup):,} cave names and aliases)" + print(message) DataIssue.objects.update_or_create(parser='scans', message=message, url=wurl) manywallets = list(set(wallets))