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