make_poster no longer takes arguments

This commit is contained in:
j 2016-07-01 12:44:07 +02:00
parent 88c800a093
commit 5434ffbf53
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def update_clips(public_id):
@task(ignore_results=True, queue='default')
def update_poster(public_id):
item = models.Item.objects.get(public_id=public_id)
item.make_poster(True)
item.make_poster()
item.make_icon()
if item.poster and os.path.exists(item.poster.path):
models.Item.objects.filter(pk=item.id).update(