typo dans le nom de fonction

This commit is contained in:
Maxime Alves LIRMM 2020-07-01 10:52:10 +02:00
parent a719b4a31a
commit e60a7ae50e
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class BaseACL:
def connected(req, func): def connected(req, func):
""" Decorator that checks if the user object of the request has been set """ Decorator that checks if the user object of the request has been set
""" """
def caller() def caller():
try: try:
getattr(req.user, 'is_authenticated') getattr(req.user, 'is_authenticated')
return func() return func()