remove list length hack

This commit is contained in:
completion 2022-03-09 16:29:00 -09:00
parent ce137819ab
commit c3a5233b87

View File

@ -146,8 +146,7 @@ def setmainlayout():
def getvms(): def getvms():
vms = [] vms = []
for vm in G.proxmox.cluster.resources.get(type='vm'): for vm in G.proxmox.cluster.resources.get(type='vm'):
if vm['type'] == "qemu": vms.append(vm)
vms.append(vm)
return vms return vms
def setvmlayout(vms): def setvmlayout(vms):