[lib.acl] fix args_check for get parameters
This commit is contained in:
parent
a14285475e
commit
a539212faf
|
@ -74,7 +74,7 @@ def args_check(fct):
|
||||||
data = {}
|
data = {}
|
||||||
|
|
||||||
for key in required:
|
for key in required:
|
||||||
data[key] = data_.pop(key, None)
|
data[key] = data_.get(key, None)
|
||||||
if data[key] is None:
|
if data[key] is None:
|
||||||
missing.append(key)
|
missing.append(key)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue