Fix pylint warning

This commit is contained in:
donoban 2021-02-17 10:56:29 +01:00
parent 6276373fff
commit 47b0bef3e2
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -1272,7 +1272,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
if reply != QMessageBox.Yes: if reply != QMessageBox.Yes:
return False return False
force=True force = True
shutdown_time = shutdown_time * len(connected_vms) shutdown_time = shutdown_time * len(connected_vms)
for connected_vm in connected_vms: for connected_vm in connected_vms:
connected_vm.shutdown(force=force) connected_vm.shutdown(force=force)