remove list length hack
This commit is contained in:
parent
ce137819ab
commit
c3a5233b87
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user