From 71b596eacbc8ad129cd44c1de4eeb416e8bbf133 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Mon, 3 Feb 2020 15:40:49 -0300 Subject: [PATCH] lint --- xrandroll/main.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/xrandroll/main.py b/xrandroll/main.py index 01a1984..d83465e 100644 --- a/xrandroll/main.py +++ b/xrandroll/main.py @@ -255,10 +255,8 @@ class Window(QObject): self.scale_changed() # Trigger scale labels update def detect_scaling_mode(self, monitor): - """Given a monitor's data, try to guess what scaling + """Given a monitor's data, try to guess what scaling mode it's using.""" - - def choose_a_monitor(self): """Choose what monitor to select by default. @@ -269,9 +267,9 @@ class Window(QObject): candidate = None for name, mon in self.xrandr_info.items(): - if not mon['enabled']: + if not mon["enabled"]: continue - if mon['primary']: + if mon["primary"]: return name candidate = name return candidate