From af2ec3e90c4baf6ade91d0b50b535392c8daed6c Mon Sep 17 00:00:00 2001
From: Kevin - Stark 4N6 <48143894+stark4n6@users.noreply.github.com>
Date: Wed, 29 Jul 2026 15:52:23 -0400
Subject: [PATCH] Update dleapp.py
---
dleapp.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dleapp.py b/dleapp.py
index ac33c36..d2245f0 100755
--- a/dleapp.py
+++ b/dleapp.py
@@ -474,9 +474,10 @@ def crunch_artifacts(
else:
log.write(f'
- {len(found)} {"files" if len(found) > 1 else "file"} for regex {artifact_search_regex} located at:')
for pathh in found:
- if pathh.startswith('\\\\?\\'):
- pathh = pathh[4:]
- log.write(f'')
+ # Strip \\?\ only for log display; file_infos is keyed with the
+ # original long-path form on Windows.
+ display_path = pathh[4:] if pathh.startswith('\\\\?\\') else pathh
+ log.write(f'')
if seeker.file_infos.get(pathh):
file_path_id = id(seeker.file_infos.get(pathh))
if not pattern_already_searched and file_path_id not in file_path_ids: