can_clone was negated in r554
[invirt/packages/invirt-web.git] / code / main.py
index c7dff0e..865aa12 100755 (executable)
@@ -203,7 +203,7 @@ def getListDict(user):
     has_vnc = {}
     xmlist = g.xmlist
     checkpoint.checkpoint('Got uptimes')
-    can_clone = 'ice3' in g.xmlist_raw
+    can_clone = 'ice3' not in g.xmlist_raw
     for m in machines:
         if m not in xmlist:
             has_vnc[m] = 'Off'