mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 17:55:29 +01:00
Fix logic issue
This commit is contained in:
parent
27981619c4
commit
7ee86f3ce1
@ -91,7 +91,7 @@ class TasksManager:
|
|||||||
def command_watcher(self):
|
def command_watcher(self):
|
||||||
while True:
|
while True:
|
||||||
# select any commands waiting to be processed
|
# select any commands waiting to be processed
|
||||||
if not self.controller.management.command_queue.empty() > 0:
|
if not self.controller.management.command_queue.empty():
|
||||||
cmd = self.controller.management.command_queue.get()
|
cmd = self.controller.management.command_queue.get()
|
||||||
try:
|
try:
|
||||||
svr = self.controller.servers.get_server_instance_by_id(
|
svr = self.controller.servers.get_server_instance_by_id(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user