X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/2da869b2b46179d64c05eaac4081226fdbbbc9ff:/skins/photo_edit_control.py..e73353500c67453ef9663d67eaeee7dd46c358ee:/Products/Portfolio/skins/static/git-favicon.png diff --git a/skins/photo_edit_control.py b/skins/photo_edit_control.py deleted file mode 100644 index 044bbff..0000000 --- a/skins/photo_edit_control.py +++ /dev/null @@ -1,11 +0,0 @@ -##parameters=file='', **others -if file : - emptyImage = not context.size - try : - context.manage_upload(file) - return context.setStatus(True, 'Saved changes.') - except IOError : - if emptyImage: context.manage_upload('') - return context.setStatus(False, 'Image file format non supported.') -else : - return context.setStatus(False, 'Nothing to change.')