mirror of
https://github.com/powerline/powerline.git
synced 2025-07-13 00:45:14 +02:00
Merge pull request #1240 from AirbornePorcine/develop
Use status_delimiter as split character
This commit is contained in:
commit
f9e4d0e440
@ -437,7 +437,7 @@ class RDIOPlayerSegment(PlayerSegment):
|
||||
now_playing = asrun(pl, ascript)
|
||||
if not now_playing:
|
||||
return
|
||||
now_playing = now_playing.split('\n')
|
||||
now_playing = now_playing.split(status_delimiter)
|
||||
if len(now_playing) != 6:
|
||||
return
|
||||
state = _convert_state(now_playing[5])
|
||||
|
Loading…
x
Reference in New Issue
Block a user