2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 12:07:41 +00:00

documentaiton for Becka as to where to find drawings files

This commit is contained in:
2025-06-14 14:12:13 +03:00
parent 40aeee9bf9
commit e1d7b35015
3 changed files with 12 additions and 1 deletions

View File

@@ -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)$")