fix json->cache rename: update cache not json
This commit is contained in:
parent
691c6fd136
commit
0de22db5d6
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ def poster(request, id, size=None):
|
||||||
poster_height=item.poster_height,
|
poster_height=item.poster_height,
|
||||||
poster_width=item.poster_width,
|
poster_width=item.poster_width,
|
||||||
icon=item.icon.name,
|
icon=item.icon.name,
|
||||||
json=item.json()
|
cache=item.json()
|
||||||
)
|
)
|
||||||
if item.poster and os.path.exists(item.poster.path):
|
if item.poster and os.path.exists(item.poster.path):
|
||||||
return image_to_response(item.poster, size)
|
return image_to_response(item.poster, size)
|
||||||
|
|
Loading…
Reference in a new issue