8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00

Error synthaxe

This commit is contained in:
Gabriel Detraz 2017-12-01 02:28:55 +01:00 committed by root
parent 4865486e06
commit 10c1c4d0c6

View file

@ -972,7 +972,7 @@ class Right(models.Model):
return str(self.user) return str(self.user)
def can_create(user, *args, **kwargs): def can_create(user, *args, **kwargs):
return user.has_perms('bureau'), u"Vous n'avez pas le droit de\ return user.has_perms(('bureau',)), u"Vous n'avez pas le droit de\
créer des droits" créer des droits"