Skip to content

Commit

Permalink
add args and kwargs to threads.py init
Browse files Browse the repository at this point in the history
Without args and kwargs there were an issue with timeliner plugin that tried to pass additional parameters like progress_callback raising TypeError
  • Loading branch information
dadokkio authored Aug 6, 2024
1 parent 32c8dc5 commit 1e3e9e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volatility3/framework/plugins/windows/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class Threads(thrdscan.ThrdScan):
_required_framework_version = (2, 4, 0)
_version = (1, 0, 0)

def __init__(self):
def __init__(self, *args, **kwargs):
self.implementation = self.list_process_threads
super().__init__()
super().__init__(*args, **kwargs)

@classmethod
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
Expand Down

0 comments on commit 1e3e9e2

Please sign in to comment.