mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update aiogram/dispatcher/router.py
This commit is contained in:
parent
6ee420db80
commit
0af295a76e
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class Router:
|
|||
|
||||
def include_routers(self, *routers) -> Router:
|
||||
if not routers:
|
||||
raise ValueError("You must provide routers")
|
||||
raise ValueError("At least one router must be provided")
|
||||
for router in routers:
|
||||
self.include_router(router)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue