apps: music: Fix double track name bug
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
306a1ec0a4
commit
5796a0c113
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue