mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Fix logic issue
This commit is contained in:
parent
27981619c4
commit
7ee86f3ce1
@ -91,7 +91,7 @@ class TasksManager:
|
||||
def command_watcher(self):
|
||||
while True:
|
||||
# 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()
|
||||
try:
|
||||
svr = self.controller.servers.get_server_instance_by_id(
|
||||
|
Loading…
x
Reference in New Issue
Block a user