diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-03-02 14:02:09 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <aneira@soleta.eu> | 2020-03-03 14:13:10 +0100 |
commit | 4e1ad0f949bda71a4c490b2df577a4db88911ca0 (patch) | |
tree | 2f9957ace735004464b65b5721222ffac9c75eff /src | |
parent | b53f8d0f8f3daa51f6d2bf87c2fc2096c6bbdf78 (diff) |
Put state to IDLE after run/schedule
Diffstat (limited to 'src')
-rw-r--r-- | src/ogRest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ogRest.py b/src/ogRest.py index a35ff5d..b80b9e7 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -357,6 +357,7 @@ class ogRest(): def process_schedule(self, client): response = restResponse(ogResponses.OK) client.send(response.get()) + self.state = ThreadState.IDLE def process_setup(self, client, request): threading.Thread(target=ogThread.setup, args=(client, request, self,)).start() |