diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-08-15 22:54:18 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-08-15 22:54:18 +0300 |
commit | fd189c68b3c9c8d90851cf5237320735ab8e5c8f (patch) | |
tree | b86e84fddb95b2d5e37e0dab2a94c4d82c6b83a2 /parsers/scans.py | |
parent | c7f0061605758d28e13a715d89719d95e3cf7baa (diff) | |
download | troggle-fd189c68b3c9c8d90851cf5237320735ab8e5c8f.tar.gz troggle-fd189c68b3c9c8d90851cf5237320735ab8e5c8f.tar.bz2 troggle-fd189c68b3c9c8d90851cf5237320735ab8e5c8f.zip |
cleaner wallets import disgnostics
Diffstat (limited to 'parsers/scans.py')
-rw-r--r-- | parsers/scans.py | 8 |
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. |