From b6fc5f3d328db5e601688630aa2e46e57c14d208 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 15 Aug 2024 23:24:45 +0300 Subject: [PATCH] remove python 3.12 thing --- parsers/scans.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)