--- a/src/pyams_portal/portlet.py Sat Mar 10 02:10:04 2018 +0100
+++ b/src/pyams_portal/portlet.py Sun Mar 11 11:02:59 2018 +0100
@@ -130,7 +130,7 @@
def __init__(self, context, request, view, settings):
super(PortletContentProvider, self).__init__(context, request, view)
self.settings = settings
- self.portlet = self.request.registry.getUtility(IPortlet, name=settings.configuration.portlet_name)
+ self.portlet = request.registry.getUtility(IPortlet, name=settings.configuration.portlet_name)
def __call__(self):
if not self.settings.visible: