From dd8125cbd0f92963fc80ecfc1db395ad93cad79a Mon Sep 17 00:00:00 2001 From: Alex Poklonsky Date: Thu, 23 Jun 2022 09:09:37 +0300 Subject: [PATCH] Rename `midddleware` to `middleware` in examples. --- .../middleware/i18n_middleware_example/main.py | 2 +- .../{i18n_base_midddleware.py => i18n_base_middleware.py} | 0 examples/middleware/class_based/i18n_middleware/main.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename examples/middleware/class_based/i18n_middleware/{i18n_base_midddleware.py => i18n_base_middleware.py} (100%) diff --git a/examples/asynchronous_telebot/middleware/i18n_middleware_example/main.py b/examples/asynchronous_telebot/middleware/i18n_middleware_example/main.py index 1faeaad42..675c14071 100644 --- a/examples/asynchronous_telebot/middleware/i18n_middleware_example/main.py +++ b/examples/asynchronous_telebot/middleware/i18n_middleware_example/main.py @@ -56,7 +56,7 @@ from telebot import types from telebot.async_telebot import AsyncTeleBot from telebot.asyncio_filters import TextMatchFilter, TextFilter -from i18n_base_midddleware import I18N +from i18n_base_middleware import I18N from telebot.asyncio_storage.memory_storage import StateMemoryStorage diff --git a/examples/middleware/class_based/i18n_middleware/i18n_base_midddleware.py b/examples/middleware/class_based/i18n_middleware/i18n_base_middleware.py similarity index 100% rename from examples/middleware/class_based/i18n_middleware/i18n_base_midddleware.py rename to examples/middleware/class_based/i18n_middleware/i18n_base_middleware.py diff --git a/examples/middleware/class_based/i18n_middleware/main.py b/examples/middleware/class_based/i18n_middleware/main.py index 66ae420ba..161f1a55f 100644 --- a/examples/middleware/class_based/i18n_middleware/main.py +++ b/examples/middleware/class_based/i18n_middleware/main.py @@ -53,7 +53,7 @@ from typing import Union import keyboards -from i18n_base_midddleware import I18N +from i18n_base_middleware import I18N from telebot import TeleBot from telebot import types, StateMemoryStorage from telebot.custom_filters import TextMatchFilter, TextFilter