diff --git a/ckanext/imageview/plugin.py b/ckanext/imageview/plugin.py index 6f0d2ebdb5a..6c44431f74e 100644 --- a/ckanext/imageview/plugin.py +++ b/ckanext/imageview/plugin.py @@ -17,7 +17,9 @@ class ImageView(p.SingletonPlugin): def update_config(self, config): p.toolkit.add_template_directory(config, 'theme/templates') - self.formats = config.get('ckan.preview.image_formats', DEFAULT_IMAGE_FORMATS).split() + self.formats = config.get( + 'ckan.preview.image_formats', + DEFAULT_IMAGE_FORMATS).split() def info(self): return {'name': 'image_view',