2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

error msg fix

This commit is contained in:
Philip Sargent 2022-10-06 21:03:14 +03:00
parent 70709c505c
commit 4a34986598

View File

@ -208,8 +208,8 @@ def cavewallets(request, caveid):
wallets.add(z) wallets.add(z)
else: else:
wurl = f"/scanupload/{z.walletname.replace('#',':')}" 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 and aliases)"
message = f" ! In {z.walletname} there is an unrecognised cave name '{zcaveid}' (out of {len(Gcavelookup):,} cave names" print(message)
DataIssue.objects.update_or_create(parser='scans', message=message, url=wurl) DataIssue.objects.update_or_create(parser='scans', message=message, url=wurl)
manywallets = list(set(wallets)) manywallets = list(set(wallets))