Fix logic issue

This commit is contained in:
amcmanu3 2023-01-19 12:06:29 -05:00
parent 27981619c4
commit 7ee86f3ce1

View File

@ -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(