Fix ending newline from mocp on some systems
This commit is contained in:
parent
18b0e793cb
commit
f2052c21be
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class Module(bumblebee.engine.Module):
|
||||||
|
|
||||||
def _load_song(self):
|
def _load_song(self):
|
||||||
try:
|
try:
|
||||||
self._info = bumblebee.util.execute("mocp -Q '" + self._format + "'" )
|
self._info = bumblebee.util.execute("mocp -Q '" + self._format + "'" ).strip()
|
||||||
self._running = 1
|
self._running = 1
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
self._running = 0
|
self._running = 0
|
||||||
|
|
Loading…
Reference in a new issue