make_poster no longer takes arguments
This commit is contained in:
parent
88c800a093
commit
5434ffbf53
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ def update_clips(public_id):
|
||||||
@task(ignore_results=True, queue='default')
|
@task(ignore_results=True, queue='default')
|
||||||
def update_poster(public_id):
|
def update_poster(public_id):
|
||||||
item = models.Item.objects.get(public_id=public_id)
|
item = models.Item.objects.get(public_id=public_id)
|
||||||
item.make_poster(True)
|
item.make_poster()
|
||||||
item.make_icon()
|
item.make_icon()
|
||||||
if item.poster and os.path.exists(item.poster.path):
|
if item.poster and os.path.exists(item.poster.path):
|
||||||
models.Item.objects.filter(pk=item.id).update(
|
models.Item.objects.filter(pk=item.id).update(
|
||||||
|
|
Loading…
Reference in a new issue