Fix bad-whitespace errors found by pylint

This commit is contained in:
Frederic Junod 2017-10-13 17:06:18 +02:00
parent 7af57c7fc4
commit 57204a215e
23 changed files with 66 additions and 66 deletions

View file

@ -35,7 +35,7 @@ class Module(bumblebee.engine.Module):
#@scrollable
def description(self, widget):
if self._running == 1:
display = self._status + ": " + self._artist + " - " + self._title + " | " + self._position + "/" + self._duration
display = self._status + ": " + self._artist + " - " + self._title + " | " + self._position + "/" + self._duration
else:
display = "Music On Console Player"
return display
@ -53,7 +53,7 @@ class Module(bumblebee.engine.Module):
self._artist = line.split(": ", 2)[1]
if line.startswith("Title:"):
self._title = line.split(": ", 2)[1]
self._title = self._title.split("(by ",2)[0]
self._title = self._title.split("(by ", 2)[0]
if line.startswith("CurrentTime:"):
self._position = line.split(": ", 2)[1]
if line.startswith("TotalTime:"):