From 94783f931f6a211adfb957d71d1a7d6320dc4d21 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 14 Feb 2014 08:06:07 +0000 Subject: [PATCH] fix get list --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index f51e234..6c3d2d6 100644 --- a/tasks.py +++ b/tasks.py @@ -20,7 +20,7 @@ def outofcopyright(): i.save() def update_double_imdb(): - l = itemlist.models.List.get(name='Double IMDb', user__username='j') + l = itemlist.models.List.get('j:Double IMDb') for i in item.models.Item.objects.filter(data__contains='imdbId').exclude(id__in=l.items.all()): if item.models.Item.objects.exclude(id=i.id).filter(sort__imdbId=i.sort.imdbId).exists(): l.add(i)