--- a/src/pyams_content/component/paragraph/zmi/html.py Thu Feb 15 15:08:29 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/html.py Thu Feb 15 15:10:27 2018 +0100
@@ -44,7 +44,6 @@
from pyams_utils.traversing import get_parent
from pyams_viewlet.viewlet import viewlet_config, BaseContentProvider
from pyams_zmi.form import AdminDialogAddForm
-from pyramid.threadlocal import get_current_registry
from pyramid.view import view_config
from z3c.form import field, button
from zope.interface import implementer, Interface
@@ -353,7 +352,6 @@
setattr(self, attr, i18n.query_attribute(attr, request=self.request))
self.illustration = IIllustration(self.context)
if self.illustration.data:
- registry = get_current_registry()
renderer = self.illustration_renderer = self.illustration.get_renderer()
if renderer is not None:
renderer.update()