From ca46b1579de8e03ade3ba57adf14e539fd563a5a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 5 Apr 2011 15:54:01 +0200 Subject: [PATCH] actors are unique too --- pandora/item/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/item/models.py b/pandora/item/models.py index 5c890de..4504629 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -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()