support of older version of aiohttp
This commit is contained in:
parent
2b12c9bd0d
commit
9741669487
@ -161,7 +161,7 @@ async def get_app(loop):
|
||||
print(f' - {path} (http_get)')
|
||||
print()
|
||||
del extra_routes
|
||||
app.add_routes(routes)
|
||||
app.router.add_routes(routes)
|
||||
await dispatcher.on_join()
|
||||
return await loop.create_server(app.make_handler(), '*', get_config()['http_server']['port'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user