From 8c552ccc451f64af1dbdcab293074f5215e833bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=88=90=E7=BB=B4?= Date: Mon, 29 Feb 2016 16:06:20 +0800 Subject: [PATCH] fix signal send --- run_websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_websocket.py b/run_websocket.py index 18aeb4802..9071ed0dd 100755 --- a/run_websocket.py +++ b/run_websocket.py @@ -41,7 +41,7 @@ define("host", default='0.0.0.0', help="run port on given host", type=str) def django_request_support(func): @functools.wraps(func) def _deco(*args, **kwargs): - request_started.send_robust() + request_started.send_robust(func) response = func(*args, **kwargs) request_finished.send_robust() return response