--- 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)