pass args kwargs in notifier
This commit is contained in:
parent
49fe4f185f
commit
6813181800
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ class Addon:
|
||||||
class Notifier(Addon): # TODO this should be an Addon too!
|
class Notifier(Addon): # TODO this should be an Addon too!
|
||||||
_report_functions : List[Callable]
|
_report_functions : List[Callable]
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, *args, **kwargs):
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
self._report_functions = []
|
self._report_functions = []
|
||||||
|
|
||||||
def add_reporter(self, fn:Callable):
|
def add_reporter(self, fn:Callable):
|
||||||
|
|
Loading…
Reference in a new issue