From 4a09ce32e6d6de982b8417fbd304460fad7ff76a Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Tue, 4 Nov 2014 17:20:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=87=EE=86=BD=E6=95=BCbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webroot/AutoSa/AutoSa/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/AutoSa/AutoSa/views.py b/webroot/AutoSa/AutoSa/views.py index da5b57cf8..ac32e96c2 100644 --- a/webroot/AutoSa/AutoSa/views.py +++ b/webroot/AutoSa/AutoSa/views.py @@ -987,7 +987,7 @@ def logHistory(request): if os.path.isfile(log_his): f = open(log_his) content = f.read() - return render_to_response(content) + return HttpResponse(content)