--- a/src/pyams_media/media.py Wed Mar 28 15:33:36 2018 +0200
+++ b/src/pyams_media/media.py Wed Mar 28 15:57:55 2018 +0200
@@ -49,7 +49,7 @@
@adapter_config(context=IFile, provides=IMediaInfo)
-def MediaInfoFactory(context):
+def media_info_factory(context):
"""Media info adapter"""
content_type = context.content_type
if isinstance(content_type, bytes):
@@ -121,7 +121,7 @@
@adapter_config(context=IFile, provides=IMediaConversions)
-def MediaConversionsFactory(context):
+def media_conversions_factory(context):
"""Media conversions factory"""
annotations = IAnnotations(context)
conversions = annotations.get(MEDIA_CONVERSIONS_KEY)