diff options
Diffstat (limited to 'parsers/scans.py')
-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: |