load width/height into db after saving frame
This commit is contained in:
parent
76bbe09a05
commit
7eb30d9776
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ def upload(request):
|
|||
fr.frame.delete()
|
||||
fr.frame.save(name, frame)
|
||||
os.chmod(fr.frame.path, 0644)
|
||||
fr.save()
|
||||
f.item.select_frame()
|
||||
f.item.save()
|
||||
item.tasks.update_poster.delay(f.item.public_id)
|
||||
|
|
Loading…
Reference in a new issue