Ensure args are checked against form body

Required for XML definitions but erroneously removed during file parsing
reworking.
This commit is contained in:
Joshua Boniface 2020-10-27 02:29:56 -04:00
parent 5d08ad9573
commit d63e757c32
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class RequestParser(object):
action=reqarg.get('action', None), action=reqarg.get('action', None),
choices=reqarg.get('choices', ()), choices=reqarg.get('choices', ()),
help=reqarg.get('helptext', None), help=reqarg.get('helptext', None),
location='args' location=['args','form']
) )
reqargs = parser.parse_args() reqargs = parser.parse_args()
kwargs['reqargs'] = reqargs kwargs['reqargs'] = reqargs