Fixed a few issues when calling update_all_buffers

This commit is contained in:
Manuel Cortez 2018-12-18 15:22:16 -06:00
parent 90999fc3d6
commit 126ec7a881

View File

@ -220,7 +220,8 @@ class Controller(object):
def update_all_buffers(self): def update_all_buffers(self):
log.debug("Updating buffers...") 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: for i in self.buffers:
if hasattr(i, "get_items"): if hasattr(i, "get_items"):
i.get_items() i.get_items()