Skip to content

Commit

Permalink
fix: correct source paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliif committed Oct 10, 2024
1 parent 24503a7 commit efc9cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewer/target_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,13 +626,13 @@ def logfunc(key, message):
continue

# file key should go to result dict no matter what
result[key] = filename
result[key] = (filename, source_file)
logger.debug("Adding key %s: %s", key, filename)

files = []
for f in list(required) + list(recommended):
try:
files.append((result[f], source_file))
files.append(result[f])
except KeyError:
logfunc(
f,
Expand Down

0 comments on commit efc9cef

Please sign in to comment.