add args and kwargs to threads.py init

Without args and kwargs there were an issue with timeliner plugin that tried to pass additional parameters like progress_callback raising TypeError
This commit is contained in:
Arcuri Davide
2024-08-06 16:28:59 +02:00
committed by GitHub
parent 32c8dc50af
commit 1e3e9e2c78
@@ -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]: