#1947: git merge did not change add_action -> add_request

This commit is contained in:
Czar.Echavez
2023-10-10 09:52:40 +01:00
parent 80d371c238
commit 56eda38a6e
3 changed files with 8 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ class Service(IOSoftware):
def _init_request_manager(self) -> RequestManager:
am = super()._init_request_manager()
am.add_action("scan", RequestType(func=lambda request, context: self.scan()))
am.add_request("scan", RequestType(func=lambda request, context: self.scan()))
am.add_request("stop", RequestType(func=lambda request, context: self.stop()))
am.add_request("start", RequestType(func=lambda request, context: self.start()))
am.add_request("pause", RequestType(func=lambda request, context: self.pause()))