From 126ec7a881d5c3c9a696a75cc9225aa030009382 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Tue, 18 Dec 2018 15:22:16 -0600 Subject: [PATCH] Fixed a few issues when calling update_all_buffers --- src/controller/mainController.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 2965c25..51665f0 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -220,7 +220,8 @@ class Controller(object): def update_all_buffers(self): log.debug("Updating buffers...") - self.session.audio_albums = self.session.vk.client.audio.getAlbums(owner_id=self.session.user_id)["items"] + self.get_audio_albums() + self.get_video_albums() for i in self.buffers: if hasattr(i, "get_items"): i.get_items()