summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-08-15 23:24:45 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2024-08-15 23:24:45 +0300
commitb6fc5f3d328db5e601688630aa2e46e57c14d208 (patch)
treed0b1c537c149d892c3e339cd4c33ce7f5d5f0c56
parentfd189c68b3c9c8d90851cf5237320735ab8e5c8f (diff)
downloadtroggle-b6fc5f3d328db5e601688630aa2e46e57c14d208.tar.gz
troggle-b6fc5f3d328db5e601688630aa2e46e57c14d208.tar.bz2
troggle-b6fc5f3d328db5e601688630aa2e46e57c14d208.zip
remove python 3.12 thing
-rw-r--r--parsers/scans.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsers/scans.py b/parsers/scans.py
index 5ba6f42..ba8bff7 100644
--- a/parsers/scans.py
+++ b/parsers/scans.py
@@ -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)