mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
RequestParser takes two parameters.
This commit is contained in:
parent
e81c654c2d
commit
a4461ba158
@ -29,7 +29,7 @@ class request(object):
|
|||||||
def __call__(self, func):
|
def __call__(self, func):
|
||||||
def run():
|
def run():
|
||||||
src = data_source(self.fname)
|
src = data_source(self.fname)
|
||||||
func(src, RequestParser(src))
|
func(src, RequestParser(src, None))
|
||||||
run.func_name = func.func_name
|
run.func_name = func.func_name
|
||||||
return run
|
return run
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user