044bbff9ff1ac3001ecbbd09891a876101785550
1 ##parameters=file='', **others
3 emptyImage
= not context
.size
5 context
.manage_upload(file)
6 return context
.setStatus(True, 'Saved changes.')
8 if emptyImage
: context
.manage_upload('')
9 return context
.setStatus(False, 'Image file format non supported.')
11 return context
.setStatus(False, 'Nothing to change.')