fix
This commit is contained in:
parent
ebd7ac6e7f
commit
ed9b0ee414
|
|
@ -5,6 +5,7 @@ from tonsdk.utils import Address
|
||||||
from app.core._blockchain.ton.connect import TonConnect
|
from app.core._blockchain.ton.connect import TonConnect
|
||||||
from app.core._keyboards import get_inline_keyboard
|
from app.core._keyboards import get_inline_keyboard
|
||||||
from app.core._utils.tg_process_template import tg_process_template
|
from app.core._utils.tg_process_template import tg_process_template
|
||||||
|
from app.core.logger import make_log
|
||||||
from app.core.models.wallet_connection import WalletConnection
|
from app.core.models.wallet_connection import WalletConnection
|
||||||
from app.core.models.node_storage import StoredContent
|
from app.core.models.node_storage import StoredContent
|
||||||
|
|
||||||
|
|
@ -76,6 +77,7 @@ async def t_home_menu(__msg, **extra):
|
||||||
if isinstance(__msg, types.Message):
|
if isinstance(__msg, types.Message):
|
||||||
args = __msg.text.split(' ')[1:]
|
args = __msg.text.split(' ')[1:]
|
||||||
|
|
||||||
|
make_log("Home", f"Home menu args: {args}", level='debug')
|
||||||
if args:
|
if args:
|
||||||
if args[0].startswith('C'):
|
if args[0].startswith('C'):
|
||||||
content = StoredContent.from_cid(db_session, args[0][1:])
|
content = StoredContent.from_cid(db_session, args[0][1:])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue