Skip to content

Commit

Permalink
Исправлен отсутствующий аргумент l10n (#11)
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
Mehavoid authored Mar 22, 2023
1 parent 0c60afd commit 5a0b4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def main():
bot.session.api = TelegramAPIServer.from_base(config.custom_bot_api, is_local=True)

# Регистрация мидлварей
dp.message.middleware(L10nMiddleware(l10n))
dp.update.middleware(L10nMiddleware(l10n))

# Регистрация /-команд в интерфейсе
await set_bot_commands(bot)
Expand Down

0 comments on commit 5a0b4df

Please # to comment.