summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-30 08:50:23 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-30 08:50:23 +0300
commitc1f9a26f5b706d00f9f938fd523763bedec08acb (patch)
tree63c1dc48e1d63d03c86c2107116a27b28df42be9 /core
parent62320e9f7ea09ffb0407d3abdea8b12a75908eed (diff)
downloadtroggle-c1f9a26f5b706d00f9f938fd523763bedec08acb.tar.gz
troggle-c1f9a26f5b706d00f9f938fd523763bedec08acb.tar.bz2
troggle-c1f9a26f5b706d00f9f938fd523763bedec08acb.zip
debug msg
Diffstat (limited to 'core')
-rw-r--r--core/models/wallets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/wallets.py b/core/models/wallets.py
index dbf3d14..ba997ab 100644
--- a/core/models/wallets.py
+++ b/core/models/wallets.py
@@ -164,7 +164,7 @@ class Wallet(models.Model):
jsonfile = Path(settings.DRAWINGS_DATA, "walletjson") / wyear / wname / "contents.json"
if not Path(jsonfile).is_file():
if wname not in archaic_wallets:
- message = f"! {jsonfile} is not a file {wyear=} {wname=} "
+ message = f"! {jsonfile} is not a file:\n {wyear=} (should be eg. '2023')\n {wname=} (should be eg. '2023#13')\n {self.fpath=}"
print(message)
from troggle.core.models.troggle import DataIssue
DataIssue.objects.update_or_create(parser="wallets", message=message, url=wurl)