This commit is contained in:
j 2011-09-14 10:50:18 -04:00
parent fcc98384e7
commit 131fe30a58

View file

@ -29,6 +29,7 @@ def update_timeline(itemId):
item = models.Item.objects.get(itemId=itemId) item = models.Item.objects.get(itemId=itemId)
item.update_timeline() item.update_timeline()
@task(queue="default")
def load_subtitles(itemId): def load_subtitles(itemId):
item = models.Item.objects.get(itemId=itemId) item = models.Item.objects.get(itemId=itemId)
item.load_subtitles() item.load_subtitles()