diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-12-29 19:35:20 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-12-29 19:35:20 +0000 |
commit | e3a94986566e4c12674553976c4e5f91edd31267 (patch) | |
tree | fbbf035e06473cea2c8145b0268e60024d76ae3e /parsers | |
parent | a3c7f165b9a8f7097f95b745c6c623a78d4853ff (diff) | |
download | troggle-e3a94986566e4c12674553976c4e5f91edd31267.tar.gz troggle-e3a94986566e4c12674553976c4e5f91edd31267.tar.bz2 troggle-e3a94986566e4c12674553976c4e5f91edd31267.zip |
Wallet edit now using refactored git add/commit system
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/scans.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/scans.py b/parsers/scans.py index ed383dc..a2deac1 100644 --- a/parsers/scans.py +++ b/parsers/scans.py @@ -12,7 +12,7 @@ todo - update the survexblock scanswallet field to refer to the wallet, if it is But we can't do that, we only have the survexfile, not the blcok. But we could set it for ALL the blocks? Hmm. """ -contentsjson = "contents.json" +CONTENTSJSON = "contents.json" git = settings.GIT @@ -160,7 +160,7 @@ def load_all_scans(): for yeardir in contents_path.iterdir(): if yeardir.is_dir(): for walletpath in yeardir.iterdir(): - if Path(walletpath, contentsjson).is_file(): + if Path(walletpath, CONTENTSJSON).is_file(): walletname = walletpath.name if walletname not in wallets: |