summaryrefslogtreecommitdiffstats
path: root/parsers/scans.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/scans.py')
-rw-r--r--parsers/scans.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/parsers/scans.py b/parsers/scans.py
index 206f645..5ba6f42 100644
--- a/parsers/scans.py
+++ b/parsers/scans.py
@@ -4,7 +4,7 @@ from pathlib import Path
import settings
from troggle.core.models.survex import SingleScan
from troggle.core.models.troggle import DataIssue
-from troggle.core.models.wallets import Wallet
+from troggle.core.models.wallets import Wallet, archaic_wallets
"""Searches through all the survey scans directories (wallets) in expofiles, looking for images to be referenced. Loads all the wallets .
@@ -142,10 +142,12 @@ def load_all_scans():
wjson = 0
seenlist = list(seen)
seenlist.sort()
- print("\n")
+ print(f"\n - modern wallets with sub-folders")
for tag in seenlist:
wjson += 1
- print(f" {tag} ", end="\n")
+ dirc, wall = tag
+ if wall not in archaic_wallets:
+ print(f" {wall} {dirc}", end="\n")
print(f"\n - found and loaded {c:,} acceptable scan files in {len(wallets):,} wallets")
# but we also need to check if JSON exists, even if there are no uploaded scan files.