mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 01:37:39 +02:00
Registry: Fix error message
This commit is contained in:
@@ -154,7 +154,7 @@ class RegistryHive(linear.LinearlyMappedLayer):
|
||||
else:
|
||||
node_key = []
|
||||
if not node_key:
|
||||
raise KeyError("Key {} not found under {}", key_array[0], '\\'.join(found_key))
|
||||
raise KeyError("Key {} not found under {}".format(key_array[0], '\\'.join(found_key)))
|
||||
if return_list:
|
||||
return node_key
|
||||
return node_key[-1]
|
||||
|
||||
Reference in New Issue
Block a user