fix(bridge): block_bridges pass working_dir in constructor to super

This commit is contained in:
Iain Learmonth 2022-11-29 11:06:23 +00:00
parent 30b60e9048
commit ebc9001aa1

View file

@ -15,14 +15,14 @@ class BlockBridgeAutomation(BaseAutomation):
hashed_fingerprints: List[str]
patterns: List[str]
def __init__(self) -> None:
def __init__(self, *args, **kwargs) -> None:
"""
Constructor method.
"""
self.ips = []
self.fingerprints = []
self.hashed_fingerprints = []
super().__init__()
super().__init__(*args, **kwargs)
def perform_deprecations(self, ids: List[str], bridge_select_func: Callable[[str], Optional[Bridge]]
) -> List[Tuple[str, str]]: