From ead3f8dc8b777ce457184a618af3a04c021db55c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 21 Mar 2023 18:23:07 +0000 Subject: [PATCH] fix broken tick-lists in wallets --- core/models/wallets.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/models/wallets.py b/core/models/wallets.py index 10ef3db..6d217c6 100644 --- a/core/models/wallets.py +++ b/core/models/wallets.py @@ -46,7 +46,9 @@ class Wallet(models.Model): if len(wyear) != 4 or len(wname) !=6: # no contents.json for old-style wallets - return None + # but this ruined all the tick-list displays.. why?! + # return None + pass jsonfile = Path(settings.DRAWINGS_DATA, "walletjson") / wyear / wname / "contents.json" if not Path(jsonfile).is_file():