src/pyams_thesaurus/zmi/thesaurus.py
changeset 57 adc5232e19dd
parent 49 0179e2ee6a1e
child 63 9ec07ad66fbb
--- a/src/pyams_thesaurus/zmi/thesaurus.py	Wed Apr 11 10:32:30 2018 +0200
+++ b/src/pyams_thesaurus/zmi/thesaurus.py	Wed Apr 11 10:48:24 2018 +0200
@@ -159,9 +159,11 @@
     """Thesaurus add form, AJAX view"""
 
     def get_ajax_output(self, changes):
-        return {'status': 'redirect',
-                'location': absolute_url(self.context, self.request, 'admin#thesaurus.html'),
-                'close_form': True}
+        return {
+            'status': 'redirect',
+            'location': absolute_url(self.context, self.request, 'admin#thesaurus.html'),
+            'close_form': True
+        }
 
 
 @adapter_config(context=(IThesaurus, IAdminLayer, Interface), provides=ITableElementEditor)