Fixed another stupid bug.
[invirt/packages/invirt-database.git] / python / database / owner.py
index f9e0128..58e3772 100755 (executable)
@@ -55,6 +55,6 @@ vms_quota_total=%s vms_quota_active=%s >""" % (self.owner_id,
                 quota_active = MAX_VMS_ACTIVE
         else:
             quota_total = MAX_VMS_TOTAL
-            quota_single = MAX_VMS_ACTIVE
+            quota_active = MAX_VMS_ACTIVE
         return (quota_total, quota_active)
     getVMQuotas = staticmethod(getVMQuotas)