load width/height into db after saving frame

This commit is contained in:
j 2014-09-28 14:02:53 +00:00
parent 76bbe09a05
commit 7eb30d9776

View file

@ -136,6 +136,7 @@ def upload(request):
fr.frame.delete() fr.frame.delete()
fr.frame.save(name, frame) fr.frame.save(name, frame)
os.chmod(fr.frame.path, 0644) os.chmod(fr.frame.path, 0644)
fr.save()
f.item.select_frame() f.item.select_frame()
f.item.save() f.item.save()
item.tasks.update_poster.delay(f.item.public_id) item.tasks.update_poster.delay(f.item.public_id)