2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 08:37:16 +00:00
This commit is contained in:
Philip Sargent
2022-07-22 12:40:42 +03:00
parent 38eb65ac0e
commit 31b912f3ca
4 changed files with 8 additions and 7 deletions

View File

@@ -105,7 +105,7 @@ def load_all_scans():
# do the year folders
if re.match(r"\d\d\d\d$", walletname):
print(f"{walletname}", end=' ')
for walletname, fpath, fisdir in GetListDir(ff):
for walletname, fpath, fisdir in GetListDir(fpath):
if fisdir:
wallet = Wallet(fpath=fpath, walletname=walletname)
# this is where we should load the contents.json for people so we can report on them later
@@ -116,7 +116,7 @@ def load_all_scans():
# what is this?
elif walletname != "thumbs":
print(f'\n - Wallet {f} - {ff}')
print(f'\n - Wallet {walletname} - {fpath}')
wallet = Wallet(fpath=fpath, walletname=walletname)
wallet.save()
LoadListScansFile(wallet)