From 9b7c51af07d05ed39904f2968a73d702d9590ac0 Mon Sep 17 00:00:00 2001 From: tadeubas Date: Thu, 12 Dec 2024 01:52:54 -0300 Subject: [PATCH] format black --- src/krux/pages/__init__.py | 2 +- src/krux/pages/login.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/krux/pages/__init__.py b/src/krux/pages/__init__.py index e95638dc..932af286 100644 --- a/src/krux/pages/__init__.py +++ b/src/krux/pages/__init__.py @@ -454,7 +454,7 @@ def shutdown_menu_item(self, ctx): """Returns the Shutdown or Reboot Menu item""" label = t("Shutdown") if ctx.power_manager.has_battery() else t("Reboot") return (label, self.shutdown) - + def shutdown(self): """Handler for the 'shutdown' menu item""" if self.prompt(t("Are you sure?"), self.ctx.display.height() // 2): diff --git a/src/krux/pages/login.py b/src/krux/pages/login.py index 2e417d21..bd1805f3 100644 --- a/src/krux/pages/login.py +++ b/src/krux/pages/login.py @@ -257,7 +257,7 @@ def _confirm_mnemonic_numbers(self, mnemonic, charset): return False return True - + def _confirm_mnemonic_letters(self, mnemonic, new): from .mnemonic_editor import MnemonicEditor @@ -341,7 +341,7 @@ def _confirm_wallet_key(self, mnemonic): network, policy_type, script_type, account = ( wallet_settings.customize_wallet(key) ) - + return key def _load_key_from_words(self, words, charset=LETTERS, new=False):