Fix executor.

This commit is contained in:
Alex Root Junior 2018-12-11 23:17:03 +02:00
parent d8fdbb853c
commit c029c33767

View file

@ -288,7 +288,7 @@ class Executor:
:param kwargs:
:return:
"""
self.set_webhook(webhook_path=webhook_path, request_handler=request_handler, route_name=route_name, **kwargs)
self.set_webhook(webhook_path=webhook_path, request_handler=request_handler, route_name=route_name)
self.run_app(**kwargs)
def start_polling(self, reset_webhook=None, timeout=None, fast=True):