From 8ec3f8aac662c5d383226f5fbb2f17543ec7fa1d Mon Sep 17 00:00:00 2001 From: Kitakami Ooi Date: Sat, 12 Dec 2015 16:33:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8FFLASH=E7=9A=84URL=E4=B8=AD?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=87=BA=E7=8E=B0=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handlers/frontend.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/handlers/frontend.py b/handlers/frontend.py index cbe842c..5f8ac34 100644 --- a/handlers/frontend.py +++ b/handlers/frontend.py @@ -81,8 +81,7 @@ async def normal(self, request): context = {'scheme': request.scheme, 'host': request.host, 'token': token, - 'starttime': starttime, - 'world_ip': world_ip} + 'starttime': starttime} return aiohttp_jinja2.render_template('normal.html', request, context) else: del session['api_token'] @@ -124,8 +123,7 @@ async def flash(self, request): context = {'scheme': request.scheme, 'host': request.host, 'token': token, - 'starttime': starttime, - 'world_ip': world_ip} + 'starttime': starttime} return aiohttp_jinja2.render_template('flash.html', request, context) else: del session['api_token'] @@ -148,8 +146,7 @@ async def poi(self, request): context = {'scheme': request.scheme, 'host': request.host, 'token': token, - 'starttime': starttime, - 'world_ip': world_ip} + 'starttime': starttime} return aiohttp_jinja2.render_template('poi.html', request, context) else: del session['api_token']