Fix typos and formattig (based on PR Review)

This commit is contained in:
Marek Wolan
2023-10-09 11:49:38 +01:00
parent df22d0de0b
commit 2722abe428
4 changed files with 17 additions and 20 deletions

View File

@@ -332,7 +332,7 @@ class Folder(FileSystemItemABC):
is_quarantined: bool = False
"Flag that marks the folder as quarantined if true."
def _init_action_manager(sekf) -> ActionManager:
def _init_action_manager(self) -> ActionManager:
am = super()._init_action_manager()
am.add_action("scan", Action(func=lambda request, context: ...)) # TODO implement action

View File

@@ -48,10 +48,7 @@ class Network(SimComponent):
self._node_action_manager = ActionManager()
am.add_action(
"node",
Action(
func=self._node_action_manager
# func=lambda request, context: self.nodes[request.pop(0)].apply_action(request, context),
),
Action(func=self._node_action_manager),
)
return am