use item.poster_frame if set

This commit is contained in:
j 2011-01-21 16:19:24 +05:30
commit 67630fa9ed
3 changed files with 24 additions and 9 deletions

View file

@ -373,6 +373,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)
response = json_response()
else:
response = json_response(status=403, text='permissino denied')