From 1e23b1205a819ea1aaf80152aa948309b36ab2fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Thu, 7 Apr 2022 15:12:25 +0200 Subject: [PATCH] remove debug line in index view --- src/capport/api/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/capport/api/views.py b/src/capport/api/views.py index 2e38224..cafad84 100644 --- a/src/capport/api/views.py +++ b/src/capport/api/views.py @@ -99,7 +99,6 @@ async def user_lookup() -> cptypes.MacPublicState: @app.route('/', methods=['GET']) async def index(missing_accept: bool=False): state = await user_lookup() - return await render_i18n_template('index_active.html', state=state, missing_accept=missing_accept) if not state.mac: return await render_i18n_template('index_unknown.html', state=state, missing_accept=missing_accept) elif state.allowed: