mirror of https://gitlab.com/litecord/litecord.git
run: remove unused loop variable
This commit is contained in:
parent
ca5386d3ce
commit
cbf6a3d441
6
run.py
6
run.py
|
|
@ -311,11 +311,13 @@ def start_websocket(host, port, ws_handler) -> asyncio.Future:
|
|||
|
||||
@app.before_serving
|
||||
async def app_before_serving():
|
||||
"""Callback for variable setup.
|
||||
|
||||
Also sets up the websocket handlers.
|
||||
"""
|
||||
log.info('opening db')
|
||||
await init_app_db(app)
|
||||
|
||||
loop = asyncio.get_event_loop()
|
||||
|
||||
app.session = ClientSession()
|
||||
|
||||
init_app_managers(app)
|
||||
|
|
|
|||
Loading…
Reference in New Issue