forked from 0x2620/pandora
tasks
This commit is contained in:
parent
fcc98384e7
commit
131fe30a58
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ def update_timeline(itemId):
|
|||
item = models.Item.objects.get(itemId=itemId)
|
||||
item.update_timeline()
|
||||
|
||||
@task(queue="default")
|
||||
def load_subtitles(itemId):
|
||||
item = models.Item.objects.get(itemId=itemId)
|
||||
item.load_subtitles()
|
||||
|
|
Loading…
Reference in a new issue