mirror of https://gitlab.crans.org/bde/nk20
[permission] Syntax error
This commit is contained in:
parent
8a9ad0a6e5
commit
5df1f42f43
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue