2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-24 16:21:53 +00:00
This commit is contained in:
Philip Sargent 2024-08-15 23:25:49 +03:00
parent b6fc5f3d32
commit 2787b6c4ec

View File

@ -137,7 +137,7 @@ def load_all_scans():
tag = str(p.parent.name) # folder containing the scan file tag = str(p.parent.name) # folder containing the scan file
if len(tag) > 4: if len(tag) > 4:
if tag[4] != "#": if tag[4] != "#":
# relative_path = p.relative_to(scans_path, walk_up=False) # relative_path = p.relative_to(scans_path, walk_up=False) # from python 3.12
relative_path = p.relative_to(scans_path) relative_path = p.relative_to(scans_path)
seen.add((str(relative_path.parent)+"/", walletname)) seen.add((str(relative_path.parent)+"/", walletname))
wjson = 0 wjson = 0