From 5796a0c113fd58f59a4836f6fd87fe6290699de5 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Thu, 12 Nov 2020 21:38:04 +0000 Subject: [PATCH] apps: music: Fix double track name bug Signed-off-by: Daniel Thompson --- wasp/apps/musicplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasp/apps/musicplayer.py b/wasp/apps/musicplayer.py index 9b4d9e5..cf96ca1 100644 --- a/wasp/apps/musicplayer.py +++ b/wasp/apps/musicplayer.py @@ -174,7 +174,7 @@ class MusicPlayerApp(object): chunks = draw.wrap(label, 240) self._fill_space(pos) for i in range(len(chunks)-1): - sub = self._track[chunks[i]:chunks[i+1]].rstrip() + sub = label[chunks[i]:chunks[i+1]].rstrip() draw.string(sub, 0, pos + 24 * i, 240) def _update(self):