actors are unique too
This commit is contained in:
parent
2faa1e28e0
commit
234d80588c
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