Skip to content

Commit

Permalink
fix entry_index
Browse files Browse the repository at this point in the history
  • Loading branch information
JSCU-CNI authored and pyrco committed Dec 14, 2023
1 parent 226c0ef commit 485652e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dissect/target/plugins/os/windows/regf/mru.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def parse_mru_key(target, key, record):
if value.name == "MRUList":
continue

entry_index = mrulist.index(value.name)
entry_index = mrulist.index(value.name) if mrulist else None
entry_value = value.value

yield record(
Expand Down

0 comments on commit 485652e

Please sign in to comment.