Changed illustration target interface
authorThierry Florac <thierry.florac@onf.fr>
Thu, 30 Aug 2018 15:28:18 +0200
changeset 910 175416eba4bd
parent 909 64e8226f8797
child 911 f96a3da89126
Changed illustration target interface
src/pyams_content/component/paragraph/audio.py
--- a/src/pyams_content/component/paragraph/audio.py	Thu Aug 30 15:28:03 2018 +0200
+++ b/src/pyams_content/component/paragraph/audio.py	Thu Aug 30 15:28:18 2018 +0200
@@ -16,7 +16,7 @@
 # import standard library
 
 # import interfaces
-from pyams_content.component.illustration.interfaces import IIllustrationTarget
+from pyams_content.component.illustration.interfaces import IBasicIllustrationTarget
 from pyams_content.component.paragraph.interfaces import IParagraphFactory
 from pyams_content.component.paragraph.interfaces.audio import IAudioParagraph, AUDIO_PARAGRAPH_TYPE, \
     AUDIO_PARAGRAPH_RENDERERS, AUDIO_PARAGRAPH_NAME
@@ -36,7 +36,7 @@
 from zope.schema.fieldproperty import FieldProperty
 
 
-@implementer(IAudioParagraph, IIllustrationTarget)
+@implementer(IAudioParagraph, IBasicIllustrationTarget)
 @factory_config(provided=IAudioParagraph)
 class AudioParagraph(BaseParagraph):
     """Audio paragraph class"""