diff options
Diffstat (limited to 'src/ogRest.py')
-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 65a2731..d4521b8 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -232,6 +232,8 @@ class ogRest(): self.process_hardware(client) elif ("run/schedule" in URI): self.process_schedule(client) + elif "refresh" in URI: + self.process_refresh(client) else: response = restResponse(ogResponses.BAD_REQUEST) client.send(response.get()) @@ -256,8 +258,6 @@ class ogRest(): self.process_stop(client) elif ("image/create" in URI): self.process_imagecreate(client, request) - elif ("refresh" in URI): - self.process_refresh(client) else: response = restResponse(ogResponses.BAD_REQUEST) client.send(response.get()) |