Fix bad-whitespace errors found by pylint
This commit is contained in:
parent
7af57c7fc4
commit
57204a215e
23 changed files with 66 additions and 66 deletions
|
@ -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:"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue