From 67ede427cb312fcb7b7ab8663d78f710f5678f46 Mon Sep 17 00:00:00 2001 From: odudex Date: Sun, 30 Jun 2024 16:52:57 -0300 Subject: [PATCH] lint --- src/krux/pages/settings_page.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/krux/pages/settings_page.py b/src/krux/pages/settings_page.py index c85c9ca0..e3f2e25d 100644 --- a/src/krux/pages/settings_page.py +++ b/src/krux/pages/settings_page.py @@ -383,10 +383,9 @@ def category_setting(self, settings_namespace, setting): self.ctx.display.clear() self.ctx.power_manager.reboot() return MENU_EXIT # In case reboot fails - else: - # Restore previous theme - setting.__set__(settings_namespace, starting_category) - theme.update() + # Restore previous theme + setting.__set__(settings_namespace, starting_category) + theme.update() return MENU_CONTINUE