Fixed a few issues when calling update_all_buffers
This commit is contained in:
parent
90999fc3d6
commit
126ec7a881
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user