diff --git a/app/bot/routers/home.py b/app/bot/routers/home.py index d9e5880..78215df 100644 --- a/app/bot/routers/home.py +++ b/app/bot/routers/home.py @@ -15,8 +15,7 @@ async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs): chat_wrap, user.translated('home_menu').format( wallet_address=( Address(wallet_connection.wallet_address).to_string(1, 1, 1) - if wallet_connection.wallet_address - else user.translated('noWalletConnected') + if wallet_connection else user.translated('noWalletConnected') ), name=user.front_format(plain_text=True), ), keyboard=get_inline_keyboard([ diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.mo b/locale/en/LC_MESSAGES/sanic_telegram_bot.mo index 75abcd4..c19a57d 100644 Binary files a/locale/en/LC_MESSAGES/sanic_telegram_bot.mo and b/locale/en/LC_MESSAGES/sanic_telegram_bot.mo differ diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.po b/locale/en/LC_MESSAGES/sanic_telegram_bot.po index 0e02e43..5f7e7fb 100644 --- a/locale/en/LC_MESSAGES/sanic_telegram_bot.po +++ b/locale/en/LC_MESSAGES/sanic_telegram_bot.po @@ -158,3 +158,6 @@ msgstr "Cancel purchase" msgid "openContractPage_button" msgstr "Open smartcontract" + +msgid "noWalletConnected" +msgstr "No wallet connected"