mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 14:27:06 +00:00
Wallet edit now using refactored git add/commit system
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user