mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update executor.py
This commit is contained in:
parent
a183122e8c
commit
689fc8fb76
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ def start_webhook(dispatcher, webhook_path, *, loop=None, skip_updates=None, on_
|
|||
retry_after=retry_after,
|
||||
route_name=route_name)
|
||||
|
||||
if custom_routes != None:
|
||||
if custom_routes is not None:
|
||||
for route in custom_routes:
|
||||
executor.web_app.router.add_route(*route)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue