diff --git a/halfapi/acl.py b/halfapi/acl.py index a540d3e..946e3ed 100644 --- a/halfapi/acl.py +++ b/halfapi/acl.py @@ -5,7 +5,7 @@ class BaseACL: def connected(req, func): """ Decorator that checks if the user object of the request has been set """ - def caller() + def caller(): try: getattr(req.user, 'is_authenticated') return func()