diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ogRest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ogRest.py b/src/ogRest.py index a75aeab..cf15c6e 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -323,7 +323,7 @@ class ogRest(): if self.state == ThreadState.BUSY: self.kill_process() - threading.Thread(target=ogThread.reboot, args=(self)).start() + threading.Thread(target=ogThread.reboot, args=(self,)).start() def process_poweroff(self, client): response = restResponse(ogResponses.IN_PROGRESS) @@ -334,7 +334,7 @@ class ogRest(): if self.state == ThreadState.BUSY: self.kill_process() - threading.Thread(target=ogThread.poweroff, args=(self)).start() + threading.Thread(target=ogThread.poweroff, args=(self,)).start() def process_probe(self, client): json_body = jsonBody() |