From c1f9a26f5b706d00f9f938fd523763bedec08acb Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 30 Jul 2024 08:50:23 +0300 Subject: [PATCH] debug msg --- core/models/wallets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)