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

@ -63,7 +63,7 @@ class Module(bumblebee.engine.Module):
last_neighbor = next((widget for widget in reversed(self.widgets()) if widget.get("state") == "on"), None)
neighbor = first_neighbor if event["button"] == bumblebee.input.LEFT_MOUSE else last_neighbor
if neighbor == None:
bumblebee.util.execute("{} --output {} --auto".format(toggle_cmd, widget.name))
else: