Explorar el Código

Fix wrong identation (thanks pylint)

donoban hace 3 años
padre
commit
9a36089ee6
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      qubesmanager/qube_manager.py

+ 3 - 3
qubesmanager/qube_manager.py

@@ -1264,9 +1264,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
                     for connected_vm in connected_vms:
                         if not self.shutdown_vm(connected_vm):
                             return False
-                    with common_threads.busy_cursor():
-                        while connected_vm.is_running():
-                            time.sleep(0.5)
+                        with common_threads.busy_cursor():
+                            while connected_vm.is_running():
+                                time.sleep(0.5)
                 else:
                     return False