瀏覽代碼

Fix wrong identation (thanks pylint)

donoban 3 年之前
父節點
當前提交
9a36089ee6
共有 1 個文件被更改,包括 3 次插入3 次删除
  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