web.run_app doesn't wait for loop kwarg

Fix error: run_app() got an unexpected keyword argument 'loop'
This commit is contained in:
Olegt0rr 2018-03-18 23:54:52 +03:00 committed by GitHub
parent dfcc59d349
commit 23fc14a7a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,5 +87,5 @@ def start_webhook(dispatcher, webhook_path, *, loop=None, skip_updates=None,
app.on_startup.append(_wh_startup)
app.on_shutdown.append(_wh_shutdown)
web.run_app(app, loop=loop, **kwargs)
web.run_app(app, **kwargs)
return app