actors are unique too

This commit is contained in:
j 2011-04-05 15:54:01 +02:00
parent 2faa1e28e0
commit 234d80588c

View file

@ -193,6 +193,7 @@ class Item(models.Model):
data['actor'] = [data['cast'][0]]
else:
data['actor'] = [c[0] for c in data['cast']]
data['actor'] = list(set(data['actor']))
self.external_data = data
self.save()