Fix manager
This commit is contained in:
parent
f2c9637af7
commit
87651aa704
@ -92,8 +92,8 @@ class Manager:
|
|||||||
response = requests.post(url, json=message, headers=headers)
|
response = requests.post(url, json=message, headers=headers)
|
||||||
|
|
||||||
# Check status code and content
|
# Check status code and content
|
||||||
prin("Status Code", response.status_code)
|
print("Status Code", response.status_code)
|
||||||
prin("Response Body", response.json())
|
print("Response Body", response.json())
|
||||||
|
|
||||||
def getCommand(self):
|
def getCommand(self):
|
||||||
messages = self.controllerConsumer.poll(timeout_ms=1000)
|
messages = self.controllerConsumer.poll(timeout_ms=1000)
|
||||||
|
Loading…
Reference in New Issue
Block a user