summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'parsers')
-rw-r--r--parsers/caves.py2
1 files changed, 1 insertions, 1 deletions
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