commit ???????????????????????????????????????? Author: YóUnǎi Date: Sun Jun 11 21:40:58 2023 +0300 Fix: remove test code Signed-off-by: Nodaa Gajidiff --git a/src/interface/helper.py b/src/interface/helper.py index a783081..d7546ae 100644 --- a/src/interface/helper.py +++ b/src/interface/helper.py @@ -47,7 +47,7 @@ class HelperInterface: cs_description: str, channels: list, callback_data: dict ) -> None: buttons = [] - for cidx, channel in enumerate(channels * 10): + for cidx, channel in enumerate(channels, start=1): buttons.append( [InlineKeyboardButton(text=f"Канал: {cidx}", url=channel.invite_link)] )