aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/collect.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/wqflask/collect.py')
-rw-r--r--wqflask/wqflask/collect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py
index 73269c4d..c273af59 100644
--- a/wqflask/wqflask/collect.py
+++ b/wqflask/wqflask/collect.py
@@ -100,7 +100,7 @@ class AnonCollection(object):
collection_exists = True
break
if collection_exists:
- collections_list[collection_position]['members'].extend(self.traits)
+ collections_list[collection_position]['members'] += list(set(self.traits) - set(collections_list[collection_position]['members']))
collections_list[collection_position]['num_members'] = len(collections_list[collection_position]['members'])
collections_list[collection_position]['changed_timestamp'] = datetime.datetime.utcnow().strftime('%b %d %Y %I:%M%p')
else: