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)