author | Thierry Florac <tflorac@ulthar.net> |
Wed, 07 Feb 2018 14:44:35 +0100 | |
changeset 370 | 58d8e071b38c |
parent 369 | 7dc78749caa2 |
child 371 | ceeb76aee369 |
--- a/src/pyams_content/component/gallery/file.py Wed Feb 07 14:44:18 2018 +0100 +++ b/src/pyams_content/component/gallery/file.py Wed Feb 07 14:44:35 2018 +0100 @@ -67,7 +67,7 @@ @data.setter def data(self, value): self._data = value - if IImage.providedBy(value): + if IImage.providedBy(self._data): alsoProvides(self._data, IResponsiveImage)