forked from expo/troggle
fix broken tick-lists in wallets
This commit is contained in:
parent
6b3cb9f02e
commit
ead3f8dc8b
@ -46,7 +46,9 @@ class Wallet(models.Model):
|
|||||||
|
|
||||||
if len(wyear) != 4 or len(wname) !=6:
|
if len(wyear) != 4 or len(wname) !=6:
|
||||||
# no contents.json for old-style wallets
|
# 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"
|
jsonfile = Path(settings.DRAWINGS_DATA, "walletjson") / wyear / wname / "contents.json"
|
||||||
if not Path(jsonfile).is_file():
|
if not Path(jsonfile).is_file():
|
||||||
|
Loading…
Reference in New Issue
Block a user