mirror of
https://github.com/ralsina/xrandroll.git
synced 2024-11-22 02:52:23 +00:00
lint
This commit is contained in:
parent
31b9d38d0b
commit
71b596eacb
@ -258,8 +258,6 @@ class Window(QObject):
|
||||
"""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
|
||||
|
Loading…
Reference in New Issue
Block a user