Commit 03917eda authored by Philipp Hörist's avatar Philipp Hörist

Fix pylint errors

parent bc5e7541
......@@ -66,12 +66,12 @@ class SettingsDialog(Gtk.ApplicationWindow):
self.listbox.connect('row-activated', self.on_row_activated)
self.connect('key-press-event', self.on_key_press)
def on_key_press(self, widget, event):
def on_key_press(self, _widget, event):
if event.keyval == Gdk.KEY_Escape:
def on_row_activated(listbox, row):
def on_row_activated(_listbox, row):
def get_setting(self, name):
......@@ -209,7 +209,7 @@ class GenericSetting(Gtk.ListBoxRow):
def __get_value(type_, value, account):
if value is None:
return None
if type_ == SettingType.VALUE:
return value
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment