Fix trailing-whitespace errors found by pylint

This commit is contained in:
Frederic Junod 2017-10-13 17:09:09 +02:00
parent 57204a215e
commit 5f20fa6134
6 changed files with 11 additions and 12 deletions

View file

@ -54,7 +54,7 @@ class Module(bumblebee.engine.Module):
if self._count == 0:
thread = threading.Thread(target=get_pacman_info, args=(widgets[0], path))
thread.start()
# TODO: improve this waiting mechanism a bit
self._count += 1
self._count = 0 if self._count > 300 else self._count