From 3032e5eb21eb399c0c885d1130959032e76744b1 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 7 Jun 2017 10:05:48 +0100 Subject: [PATCH] [Lint] Fix pylint warnings --- deluge/ui/gtkui/mainwindow.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deluge/ui/gtkui/mainwindow.py b/deluge/ui/gtkui/mainwindow.py index d33a5b069..162c7e9d1 100644 --- a/deluge/ui/gtkui/mainwindow.py +++ b/deluge/ui/gtkui/mainwindow.py @@ -115,8 +115,9 @@ class MainWindow(component.Component): self.gtk_builder_signals_holder.connect_signals(mapping_or_class) def first_show(self): - if not(self.config['start_in_tray'] and self.config['enable_system_tray'] - ) and not self.window.get_property('visible'): + if not ( + self.config['start_in_tray'] and self.config['enable_system_tray'] + ) and not self.window.get_property('visible'): log.debug('Showing window') self.main_builder.prev_connect_signals(self.gtk_builder_signals_holder) self.vpaned.set_position(self.initial_vpaned_position) @@ -300,6 +301,5 @@ class MainWindow(component.Component): active_wksp = win.get_screen().get_active_workspace() if active_wksp: return win.is_on_workspace(active_wksp) - else: - return False + return False return True