From b8f1d3a35e5826df30089f790c63691f515de790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Ma=C3=AFzi?= Date: Thu, 30 Jul 2020 11:06:36 +0200 Subject: [PATCH] [routes] Fix func -> fct. --- halfapi/lib/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halfapi/lib/routes.py b/halfapi/lib/routes.py index b2a1db2..ade0409 100644 --- a/halfapi/lib/routes.py +++ b/halfapi/lib/routes.py @@ -39,7 +39,7 @@ def get_routes(domains=None): for acl_fct_name in acls: acl_fct = getattr(acls_mod, acl_fct_name) if acl_fct(req, *args, **kwargs): - return func(req, *args, **kwargs) + return fct(req, *args, **kwargs) raise HTTPException(401)