summaryrefslogtreecommitdiffstats
path: root/core/models/wallets.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-06-30 20:38:02 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2024-06-30 20:38:02 +0300
commit8e1cf1021d8b398c4c59fff7c20719a53a72c3ac (patch)
tree9a128796203fe1c72c3799bad7b6efe44ee9a7a7 /core/models/wallets.py
parent6789d4f627167344b88c3ec33788cbdace6258da (diff)
downloadtroggle-8e1cf1021d8b398c4c59fff7c20719a53a72c3ac.tar.gz
troggle-8e1cf1021d8b398c4c59fff7c20719a53a72c3ac.tar.bz2
troggle-8e1cf1021d8b398c4c59fff7c20719a53a72c3ac.zip
using filename for entrance_slug not the <slug> field in entrance_data file
Diffstat (limited to 'core/models/wallets.py')
-rw-r--r--core/models/wallets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/models/wallets.py b/core/models/wallets.py
index 0382adb..dbf3d14 100644
--- a/core/models/wallets.py
+++ b/core/models/wallets.py
@@ -208,6 +208,7 @@ class Wallet(models.Model):
if not (Path(settings.SURVEX_DATA) / sx).is_file():
message=f"{self} Survex file {sx} was not found in LOSER repo"
DataIssue.objects.update_or_create(parser="wallets", message=message, url=wurl)
+ # check using <kataster> field on the cave whether it has been renamed...
def allcaves(self):
"""Called when parsing importing all data. Called on all new wallets, but before