fixed get_current_album_path

This commit is contained in:
Martin Wagner 2022-09-03 11:15:34 +02:00
parent a99ce64c66
commit 279107d2a6
1 changed files with 1 additions and 1 deletions

View File

@ -2158,7 +2158,7 @@ class AlbumList(Gtk.IconView):
callback()
def get_current_album_path(self):
if (song:=self._client.currentsong()) is not None:
if (song:=self._client.currentsong()):
album=[song["albumartist"][0], song["album"][0], song["date"][0]]
row_num=len(self._store)
for i in range(0, row_num):