src/pyams_content/shared/common/zmi/dashboard.py
changeset 24 b5882159dea4
parent 14 234db8f05928
child 39 af92f11716b5
--- a/src/pyams_content/shared/common/zmi/dashboard.py	Thu Apr 21 18:11:50 2016 +0200
+++ b/src/pyams_content/shared/common/zmi/dashboard.py	Thu Apr 21 18:12:30 2016 +0200
@@ -86,7 +86,7 @@
     @property
     def data_attributes(self):
         attributes = super(BaseDashboardTable, self).data_attributes
-        attributes['table'] = {'data-ams-datatable-sorting': "{0},{1}".format(len(self.columns)-1,
+        attributes['table'] = {'data-ams-datatable-sorting': "{0},{1}".format(len(self.columns) - 1,
                                                                               self.dt_sort_order),
                                'data-ams-datatable-display-length':
                                    IAdminProfile(self.request.principal).table_page_length}