Merge pull request #350 from mkwardakov/mocp-refactor
Fix ending newline from mocp on some systems
This commit is contained in:
commit
61e64044b6
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