actors are unique too
This commit is contained in:
parent
bd44f4a41e
commit
ca46b1579d
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ class Item(models.Model):
|
||||||
data['actor'] = [data['cast'][0]]
|
data['actor'] = [data['cast'][0]]
|
||||||
else:
|
else:
|
||||||
data['actor'] = [c[0] for c in data['cast']]
|
data['actor'] = [c[0] for c in data['cast']]
|
||||||
|
data['actor'] = list(set(data['actor']))
|
||||||
self.external_data = data
|
self.external_data = data
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue