From bda6f7e3e77308a63288246e32773317974fdf52 Mon Sep 17 00:00:00 2001 From: trigg Date: Tue, 9 Jul 2024 01:17:14 +0100 Subject: [PATCH] - more lint --- discover_overlay/settings_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discover_overlay/settings_window.py b/discover_overlay/settings_window.py index cd59c6c..3b76030 100644 --- a/discover_overlay/settings_window.py +++ b/discover_overlay/settings_window.py @@ -1232,7 +1232,7 @@ class MainSettingsWindow(): screen = self.window.get_screen() plug = "Any" monitor = None - if(button.get_active()>0): + if button.get_active()>0: monitor = screen.get_monitor_plug_name(button.get_active()-1) if monitor: plug = monitor @@ -1275,7 +1275,7 @@ class MainSettingsWindow(): screen = self.window.get_screen() plug = "Any" monitor = None - if(button.get_active()>0): + if button.get_active()>0: monitor = screen.get_monitor_plug_name(button.get_active()-1) if monitor: plug = monitor