2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 00:31:55 +00:00

remove python 3.12 thing

This commit is contained in:
Philip Sargent 2024-08-15 23:24:45 +03:00
parent fd189c68b3
commit b6fc5f3d32

View File

@ -137,7 +137,8 @@ def load_all_scans():
tag = str(p.parent.name) # folder containing the scan file
if len(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)
relative_path = p.relative_to(scans_path)
seen.add((str(relative_path.parent)+"/", walletname))
wjson = 0
seenlist = list(seen)