Compare commits

...

1 Commits

Author SHA1 Message Date
f3261455c4 Ensure args are checked against form body
Required for XML definitions but erroneously removed during file parsing
reworking.
2020-10-27 02:29:56 -04:00

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