From 1641dfe5f199e26607e8367395f4f8aa04eb376b Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 21 Oct 2023 22:31:33 +0300 Subject: tidy with new multicave wallets --- parsers/caves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parsers/caves.py') diff --git a/parsers/caves.py b/parsers/caves.py index fe8c92c..b7b6c4c 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -107,7 +107,7 @@ def add_cave_to_pending_list(id, wallet, message): """(id, f"Wallet {wallet} - Could not find id <{id}>") """ wurl = f"/walletedit/{wallet.walletname}".replace('#', ':') - DataIssue.objects.create(parser="wallets", message=message, url=wurl) + DataIssue.objects.update_or_create(parser="wallets", message=message, url=wurl) def create_new_cave(svxpath, svxid=None, msg=None): """This is called only when a new survex file is edited online which has a path on the -- cgit v1.2.3