Commit fe10354c authored by Ivan Tyagov's avatar Ivan Tyagov

Fix multiple values for keyword argument error.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35603 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5a03b27d
......@@ -209,7 +209,7 @@ class Image(TextConvertableMixin, File, OFSImage):
mime, image = self.getConversion(**convert_kw)
except KeyError:
# Generate photo on-the-fly
mime, image = self._makeDisplayPhoto(image_size, **convert_kw)
mime, image = self._makeDisplayPhoto(**convert_kw)
self.setConversion(image, mime, **convert_kw)
width, height = image.width, image.height
# Set cookie for chosen size
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment