Formatting...
authorThierry Florac <tflorac@ulthar.net>
Fri, 06 Aug 2021 14:28:51 +0200
changeset 580 5229fccd92a7
parent 579 4b2f978ac363
child 581 fd1553fc1b34
Formatting...
src/pyams_skin/table.py
--- a/src/pyams_skin/table.py	Thu Aug 05 09:22:02 2021 +0200
+++ b/src/pyams_skin/table.py	Fri Aug 06 14:28:51 2021 +0200
@@ -384,8 +384,7 @@
         permission = self.permission
         if permission and not self.request.has_permission(permission, context=item):
             return self.get_icon(item)
-        else:
-            return super(AttributeSwitcherColumn, self).renderCell(item)
+        return super(AttributeSwitcherColumn, self).renderCell(item)
 
 
 class VisibilitySwitcherColumn(AttributeSwitcherColumn):