poster api fixes

This commit is contained in:
j 2011-06-06 18:38:16 +00:00
commit b93d1b1190
3 changed files with 30 additions and 26 deletions

View file

@ -452,7 +452,7 @@ def setPosterFrame(request): #parse path and return info
#FIXME: some things need to be updated after changing this
item.poster_frame = data['position']
item.save()
tasks.update_poster.delay(item.itemId)
tasks.update_poster(item.itemId)
response = json_response()
else:
response = json_response(status=403, text='permissino denied')