Fix more VPN bugs
diff --git a/xos/services/vpn/models.py b/xos/services/vpn/models.py
index b97eaa9..a33f06f 100644
--- a/xos/services/vpn/models.py
+++ b/xos/services/vpn/models.py
@@ -34,7 +34,7 @@
tenants = [tenant for tenant in VPNTenant.get_tenant_objects().all() if tenant.protocol == protocol]
port_numbers = self.exposed_ports[protocol]
for port_number in port_numbers:
- if [tenant for tenant in tenants if tenant.port_number == port_number].count() == 0:
+ if count([tenant for tenant in tenants if tenant.port_number == port_number]) == 0:
return port_number