author | Thierry Florac <thierry.florac@onf.fr> |
Wed, 28 Mar 2018 15:48:24 +0200 (2018-03-28) | |
changeset 91 | c2474255555d |
parent 90 | 2d578ef0d683 |
child 92 | 4568b89a1a58 |
--- a/src/pyams_file/zmi/image.py Wed Mar 28 15:29:49 2018 +0200 +++ b/src/pyams_file/zmi/image.py Wed Mar 28 15:48:24 2018 +0200 @@ -642,7 +642,7 @@ @adapter_config(context=IImage, provides=IImageResizeInfo) -def ImageResizeInfoFactory(image): +def image_resize_info_factory(image): size = image.get_image_size() info = ImageResizeInfo() info.width = size[0]