Merge remote-tracking branch 'origin/rights' into rights

This commit is contained in:
Yohann D'ANELLO 2020-03-07 10:48:42 +01:00
commit 7e29f1d482
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class Permission(models.Model):
def _about(_self, _query, **kwargs):
self = _self
query = _query
if self.type == 'add'):
if self.type == 'add':
# Handle add permission differently
return self._about_add(query, **kwargs)
if len(query) == 0: