diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-08-24 18:28:15 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-08-24 18:28:15 +0300 |
commit | 7e9fd0f353e26cb3440f8658d5da7b9f1992af82 (patch) | |
tree | 693a3096dc153bac115e6dd0eb40c46e2b29b945 /parsers/scans.py | |
parent | 8ca50d8fd4f6ce431033405141946fe6e525f2db (diff) | |
download | troggle-7e9fd0f353e26cb3440f8658d5da7b9f1992af82.tar.gz troggle-7e9fd0f353e26cb3440f8658d5da7b9f1992af82.tar.bz2 troggle-7e9fd0f353e26cb3440f8658d5da7b9f1992af82.zip |
Better display of wallet names copied from svx files
Diffstat (limited to 'parsers/scans.py')
-rw-r--r-- | parsers/scans.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/parsers/scans.py b/parsers/scans.py index b18dd64..f9ec449 100644 --- a/parsers/scans.py +++ b/parsers/scans.py @@ -72,6 +72,10 @@ def load_all_scans(): and builds up the models we can access later. It does NOT read or validate anything in the JSON data attached to each wallet. Those checks are done at runtime, when a wallet is accessed, not at import time. + + NOTE that parsers/survex.py does NOT create a wallet if it finds an unrecognised *REF wallet. + Instead it reports an error in DataIssues. But it does make a link in the db between the + existing wallet (probably no JSON, just a folder containing scans) and the survex file. ''' print(' - Loading Survey Scans') @@ -113,7 +117,7 @@ def load_all_scans(): else: - # but We should load all the scans, even for nonstandard names. + # but We *should* load all the scans, even for nonstandard names. print(f'\n - IGNORE {walletname} - {fpath}') # but we also need to check if JSON exists, even if there are no uploaded scan files |