Skip to content

Commit

Permalink
updater: make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Apr 17, 2024
1 parent e4c7df5 commit 898cda2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions qui/updater/updater_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def __init__(
)
self.days_without_update_button.configure(adj, 1, 0)

self.restart_servicevms_checkbox: Gtk.CheckButton = self.builder.get_object(
"restart_servicevms")
self.restart_servicevms_checkbox: Gtk.CheckButton = \
self.builder.get_object("restart_servicevms")
self.restart_servicevms_checkbox.connect(
"toggled", self._show_restart_exceptions)

Expand Down Expand Up @@ -189,8 +189,10 @@ def load_settings(self):

self._init_restart_servicevms = self.restart_service_vms
self._init_restart_other_vms = self.restart_other_vms
self.restart_servicevms_checkbox.set_sensitive(not self.overrides.restart)
self.restart_servicevms_checkbox.set_active(self._init_restart_servicevms)
self.restart_servicevms_checkbox.set_sensitive(
not self.overrides.restart)
self.restart_servicevms_checkbox.set_active(
self._init_restart_servicevms)
self.restart_other_checkbox.set_active(self._init_restart_other_vms)
self.restart_other_checkbox.set_sensitive(not self.overrides.restart)

Expand Down

0 comments on commit 898cda2

Please sign in to comment.