diff --git a/app/client_bot/routers/content.py b/app/client_bot/routers/content.py index d35623d..898c2cb 100644 --- a/app/client_bot/routers/content.py +++ b/app/client_bot/routers/content.py @@ -47,7 +47,7 @@ async def t_inline_query_node_content(query: types.InlineQuery, memory=None, use return await query.answer(content_list) audio_title = metadata_content_json.get('name', "").split(' - ') - title, performer = None + title, performer = None, None if len(audio_title) > 1: performer = audio_title[0].strip() audio_title = audio_title[1:]