From 89e839d36f259dc0ec145bd0aa86c1e46ff09a01 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 19 Feb 2020 21:43:26 +0300 Subject: [PATCH] debug vk audio --- feeds/modules/vk_music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/modules/vk_music.py b/feeds/modules/vk_music.py index a28a9fc..74410c5 100644 --- a/feeds/modules/vk_music.py +++ b/feeds/modules/vk_music.py @@ -38,12 +38,12 @@ class VKMusicFeedModuleConfig(FeedModuleConfig): vk_audio = VkAudio(vk_session) lst = [] for audio in vk_audio.get_iter(self.owner_id): + logging.warning(audio) if int(audio['id']) > last_id: lst = [audio] + lst else: break for track in lst: - logging.warning(track) f = get_vk_audio(track['url']) bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'], title=track['title'], timeout=40)