From a539212faf0be1c01c6d6e527be16efad89b0d06 Mon Sep 17 00:00:00 2001 From: Maxime Alves LIRMM Date: Fri, 18 Jun 2021 12:08:51 +0200 Subject: [PATCH] [lib.acl] fix args_check for get parameters --- halfapi/lib/acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halfapi/lib/acl.py b/halfapi/lib/acl.py index 71f9713..98194c3 100644 --- a/halfapi/lib/acl.py +++ b/halfapi/lib/acl.py @@ -74,7 +74,7 @@ def args_check(fct): data = {} for key in required: - data[key] = data_.pop(key, None) + data[key] = data_.get(key, None) if data[key] is None: missing.append(key)