From 6d48bcc9d07a738b01843c752fe9fca9bf749bb5 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Fri, 6 Oct 2023 10:52:28 +0100 Subject: [PATCH] Remove double ampersand in last track header --- app/musicmuster.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/musicmuster.py b/app/musicmuster.py index b5eaad0..9427e72 100755 --- a/app/musicmuster.py +++ b/app/musicmuster.py @@ -1784,8 +1784,7 @@ class Window(QMainWindow, Ui_MainWindow): if self.previous_track.title and self.previous_track.artist: self.hdrPreviousTrack.setText( - f"{self.previous_track.title.replace('&', '&&')} - " - f"{self.previous_track.artist.replace('&', '&&')}" + f"{self.previous_track.title} - {self.previous_track.artist}" ) else: self.hdrPreviousTrack.setText("")