summaryrefslogtreecommitdiffstats
path: root/parsers/scans.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-12-29 19:35:20 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2024-12-29 19:35:20 +0000
commite3a94986566e4c12674553976c4e5f91edd31267 (patch)
treefbbf035e06473cea2c8145b0268e60024d76ae3e /parsers/scans.py
parenta3c7f165b9a8f7097f95b745c6c623a78d4853ff (diff)
downloadtroggle-e3a94986566e4c12674553976c4e5f91edd31267.tar.gz
troggle-e3a94986566e4c12674553976c4e5f91edd31267.tar.bz2
troggle-e3a94986566e4c12674553976c4e5f91edd31267.zip
Wallet edit now using refactored git add/commit system
Diffstat (limited to 'parsers/scans.py')
-rw-r--r--parsers/scans.py4
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: