Revision b46e0e43

b/db/charger.py
12 12

  
13 13
def periodically_charge():
14 14
    """Scan all virtual machines and charge each user"""
15
    active_vms = VirtualMachine.objects.filter(delete=False)
15
    active_vms = VirtualMachine.objects.filter(deleted=False)
16 16
    
17 17
    if not len(active_vms):
18 18
        print "No virtual machines found"

Also available in: Unified diff