From b2b34ad81ab38391f2d2cfb05de943ae9223faf3 Mon Sep 17 00:00:00 2001 From: enkore Date: Tue, 14 Oct 2014 16:50:40 +0200 Subject: [PATCH] PEP 8 (I'm bored): core/modules --- i3pystatus/core/modules.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/i3pystatus/core/modules.py b/i3pystatus/core/modules.py index 4356e3a..fc1e569 100644 --- a/i3pystatus/core/modules.py +++ b/i3pystatus/core/modules.py @@ -27,9 +27,9 @@ class Module(SettingsBase): self.on_leftclick() elif button == 3: # Right mouse button self.on_rightclick() - elif button == 4: # mouse wheel up + elif button == 4: # mouse wheel up self.on_upscroll() - elif button == 5: # mouse wheel down + elif button == 5: # mouse wheel down self.on_downscroll() def move(self, position): @@ -48,6 +48,7 @@ class Module(SettingsBase): def on_downscroll(self): pass + class IntervalModuleMeta(type): """Add interval setting to `settings` attribute if it does not exist."""