remove debug line in index view
This commit is contained in:
parent
2e6b368670
commit
1e23b1205a
@ -99,7 +99,6 @@ async def user_lookup() -> cptypes.MacPublicState:
|
|||||||
@app.route('/', methods=['GET'])
|
@app.route('/', methods=['GET'])
|
||||||
async def index(missing_accept: bool=False):
|
async def index(missing_accept: bool=False):
|
||||||
state = await user_lookup()
|
state = await user_lookup()
|
||||||
return await render_i18n_template('index_active.html', state=state, missing_accept=missing_accept)
|
|
||||||
if not state.mac:
|
if not state.mac:
|
||||||
return await render_i18n_template('index_unknown.html', state=state, missing_accept=missing_accept)
|
return await render_i18n_template('index_unknown.html', state=state, missing_accept=missing_accept)
|
||||||
elif state.allowed:
|
elif state.allowed:
|
||||||
|
Loading…
Reference in New Issue
Block a user