fixed error in autoremove

This commit is contained in:
Martin Wagner 2020-03-03 17:20:58 +01:00
parent 28e526777e
commit 36df7cf7dd

View File

@ -939,9 +939,10 @@ class TrackView(Gtk.Box):
status=self.client.status() status=self.client.status()
if not status["song"] == "0" and self.client.playlistinfo()[0]["file"] == self.client.song_to_delete: if not status["song"] == "0" and self.client.playlistinfo()[0]["file"] == self.client.song_to_delete:
self.client.delete(0) self.client.delete(0)
self.client.song_to_delete=""
else: else:
self.refresh_selection() self.refresh_selection()
self.client.song_to_delete="" self.client.song_to_delete=""
else: else:
self.refresh_selection() self.refresh_selection()