8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Error synthaxe

This commit is contained in:
Gabriel Detraz 2017-12-01 02:28:55 +01:00 committed by root
parent 3284760fa1
commit 781085c643

View file

@ -972,7 +972,7 @@ class Right(models.Model):
return str(self.user)
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"