👍️[Update] Model : Watchdogの引数(*args, **kwargs)を追加
This commit is contained in:
@@ -1528,7 +1528,7 @@ class Controller:
|
|||||||
th_download.start()
|
th_download.start()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def startWatchdog() -> dict:
|
def startWatchdog(*args, **kwargs) -> dict:
|
||||||
model.startWatchdog()
|
model.startWatchdog()
|
||||||
return {"status":200, "result":True}
|
return {"status":200, "result":True}
|
||||||
|
|
||||||
@@ -1538,7 +1538,7 @@ class Controller:
|
|||||||
return {"status":200, "result":True}
|
return {"status":200, "result":True}
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def stopWatchdog() -> dict:
|
def stopWatchdog(*args, **kwargs) -> dict:
|
||||||
model.stopWatchdog()
|
model.stopWatchdog()
|
||||||
return {"status":200, "result":True}
|
return {"status":200, "result":True}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user