fix bug
diff --git a/xos/core/models/service.py b/xos/core/models/service.py
index 12442f2..124feb5 100644
--- a/xos/core/models/service.py
+++ b/xos/core/models/service.py
@@ -340,7 +340,7 @@
if self.service_specific_id:
conflicts = self.get_tenant_objects().filter(service_specific_id=self.service_specific_id)
if self.pk:
- conflicts = conflicts.exclude(self.pk)
+ conflicts = conflicts.exclude(pk=self.pk)
if conflicts:
raise XOSDuplicateKey("service_specific_id %s already exists" % self.service_specific_id, fields={"service_specific_id": "duplicate key"})