[runserverobj] fix: map arguments from 'args' or 'arg'

This commit is contained in:
Rushabh Mehta 2013-07-08 11:30:10 +05:30
parent 69318a01a0
commit 8f7be86435

View file

@ -35,7 +35,7 @@ def runserverobj():
wrapper = None
method = webnotes.form_dict.get('method')
arg = webnotes.form_dict.get('args')
arg = webnotes.form_dict.get('args', webnotes.form_dict.get("arg"))
dt = webnotes.form_dict.get('doctype')
dn = webnotes.form_dict.get('docname')