summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kolabd/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 5624280..ce552d8 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -232,7 +232,7 @@ class KolabDaemon(object):
# domains now is a list of tuples, we want the primary_domains
primary_domains = []
- for primary_domain, secondary_domains in domains:
+ for primary_domain in list(set(domains.values())):
primary_domains.append(primary_domain)
# Now we can check if any changes happened.