From ad9e4b2d56eebcafb13b423bb84424188743626f Mon Sep 17 00:00:00 2001 From: user Date: Fri, 5 Apr 2024 14:56:33 +0300 Subject: [PATCH] fix --- app/core/models/_telegram/templates/player.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/core/models/_telegram/templates/player.py b/app/core/models/_telegram/templates/player.py index b9b1832..ba84d5d 100644 --- a/app/core/models/_telegram/templates/player.py +++ b/app/core/models/_telegram/templates/player.py @@ -12,9 +12,10 @@ class PlayerTemplates: content_type, content_encoding = 'application', 'x-binary' cd_log = "" template_kwargs = {} + inline_keyboard_array = [] + text = "" if content: assert content.type.startswith('onchain/content'), "Invalid nodeStorage content type" - inline_keyboard_array = [] cd_log = f"Content (SHA256: {content.hash}), Encrypted: {content.encrypted}, TelegramCID: {content.telegram_cid}. " if not content.encrypted: local_content = content