diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-03-21 18:23:07 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-03-21 18:23:07 +0000 |
commit | ead3f8dc8b777ce457184a618af3a04c021db55c (patch) | |
tree | dac20b0cd2ec49e2d19d7eb7f37c5e692f22094c /core | |
parent | 6b3cb9f02ea9477834e685d4bb5c87a1d13a7fc7 (diff) | |
download | troggle-ead3f8dc8b777ce457184a618af3a04c021db55c.tar.gz troggle-ead3f8dc8b777ce457184a618af3a04c021db55c.tar.bz2 troggle-ead3f8dc8b777ce457184a618af3a04c021db55c.zip |
fix broken tick-lists in wallets
Diffstat (limited to 'core')
-rw-r--r-- | core/models/wallets.py | 4 |
1 files changed, 3 insertions, 1 deletions
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(): |