Check missing renderer
authorThierry Florac <thierry.florac@onf.fr>
Mon, 27 Aug 2018 11:31:53 +0200
changeset 887 b26778f0d8a0
parent 886 6e6f0ac2f317
child 888 82839782b63d
Check missing renderer
src/pyams_content/features/renderer/zmi/widget.py
--- a/src/pyams_content/features/renderer/zmi/widget.py	Mon Aug 27 11:12:52 2018 +0200
+++ b/src/pyams_content/features/renderer/zmi/widget.py	Mon Aug 27 11:31:53 2018 +0200
@@ -31,7 +31,7 @@
 
     @property
     def show_renderer_properties(self):
-        renderer = IContentRenderer(self.context)
+        renderer = IContentRenderer(self.context, None)
         return (renderer is not None) and (renderer.settings_interface is not None)