From 8e1cf1021d8b398c4c59fff7c20719a53a72c3ac Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 30 Jun 2024 20:38:02 +0300 Subject: using filename for entrance_slug not the field in entrance_data file --- core/models/wallets.py | 1 + 1 file changed, 1 insertion(+) (limited to 'core/models/wallets.py') 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 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 -- cgit v1.2.3