always clear siteposter cache if poster is removed
This commit is contained in:
parent
c19598c4d7
commit
addaa56d85
2 changed files with 3 additions and 2 deletions
|
|
@ -674,7 +674,6 @@ def setPoster(request, data):
|
|||
if data['source'] in valid_sources:
|
||||
item.poster_source = data['source']
|
||||
item.remove_poster()
|
||||
item.clear_poster_cache(item.path('siteposter.jpg'))
|
||||
item.save()
|
||||
tasks.update_poster(item.public_id)
|
||||
response = json_response()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue