From e8ae98a69a72ef5225a9d806e4802e58778a3c1a Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sat, 26 Jan 2019 11:16:14 +0300 Subject: [PATCH] fix --- feeds/modules/vk_feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/modules/vk_feed.py b/feeds/modules/vk_feed.py index a822134..2ecb3c5 100644 --- a/feeds/modules/vk_feed.py +++ b/feeds/modules/vk_feed.py @@ -70,7 +70,7 @@ class VKFeedModuleConfig(FeedModuleConfig): for a in post['attachments']: if 'audio' in a: f = get_file(vk_audio.get_audio_by_id(a['audio']['owner_id'], a['audio']['id'])) - bot.send_audio(chat_id, f, a['audio'].get('duration'), + bot.send_audio(chat_id, f, None, a['audio'].get('duration'), a['audio'].get('artist'), a['audio'].get('title')) if self.send_links: bot.send_message(chat_id, f"https://vk.com/wall{post['owner_id']}_{post['id']}",