Update aiogram/dispatcher/router.py

This commit is contained in:
Alex Root Junior 2023-02-12 00:23:58 +02:00 committed by GitHub
parent 6ee420db80
commit 0af295a76e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)