src/pyams_content/component/illustration/paragraph.py
changeset 407 0ef5de2d5674
parent 356 9922023810d3
child 586 28445044f6e3
--- a/src/pyams_content/component/illustration/paragraph.py	Thu Feb 22 12:00:05 2018 +0100
+++ b/src/pyams_content/component/illustration/paragraph.py	Thu Feb 22 15:58:28 2018 +0100
@@ -16,7 +16,7 @@
 # import standard library
 
 # import interfaces
-from pyams_content.component.illustration.interfaces import IIllustrationParagraph
+from pyams_content.component.illustration.interfaces import IIllustrationParagraph, ILLUSTRATION_PARAGRAPH_TYPE
 from pyams_content.component.paragraph.interfaces import IParagraphFactory
 from pyams_content.features.checker.interfaces import IContentChecker
 from pyams_i18n.interfaces import II18n
@@ -40,7 +40,7 @@
     icon_hint = _("Illustration")
 
 
-@utility_config(name='Illustration', provides=IParagraphFactory)
+@utility_config(name=ILLUSTRATION_PARAGRAPH_TYPE, provides=IParagraphFactory)
 class IllustrationFactory(BaseParagraphFactory):
     """Illustration paragraph factory"""