diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-06-14 14:12:13 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-06-14 14:12:13 +0300 |
commit | e1d7b350159ba577cfa791da7ea43726e4516796 (patch) | |
tree | 875ec3ead0ffe9b781721ddea0877dc32a72fe2d /parsers | |
parent | 40aeee9bf97ca3aadbebb48cd8221fefb8a094f8 (diff) | |
download | troggle-e1d7b350159ba577cfa791da7ea43726e4516796.tar.gz troggle-e1d7b350159ba577cfa791da7ea43726e4516796.tar.bz2 troggle-e1d7b350159ba577cfa791da7ea43726e4516796.zip |
documentaiton for Becka as to where to find drawings files
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/drawings.py | 5 | ||||
-rw-r--r-- | parsers/logbooks.py | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/parsers/drawings.py b/parsers/drawings.py index f34cd70..309926e 100644 --- a/parsers/drawings.py +++ b/parsers/drawings.py @@ -16,11 +16,14 @@ todo = """ - Rename functions more consistently between tunnel and therion variants - Refactor to use pathlib instead of whacky resetting of loop variable inside loop - to scan sub-folders. + to scan sub-folders. This will definitely break at some point.. - Recode rx_valid_ext to use pathlib suffix() function - Recode load_drawings_files() to use a list of suffices - not the huge if-else monstrosity + +- implement: findimportinsert(therionfile, imp) + Tries to link the scrap (Therion format) to the referenced therion scrap """ rx_valid_ext = re.compile(r"(?i)\.(?:png|jpg|pdf|jpeg|gif|txt)$") diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 3c1d3f5..b53756b 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -58,6 +58,7 @@ LOGBOOK_PARSER_SETTINGS = { LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB ENTRIES = { + "2025": 1, "2024": 127, "2023": 131, "2022": 94, |