Skip to content

Commit

Permalink
format black
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeubas committed Dec 12, 2024
1 parent 136d65e commit 9b7c51a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/krux/pages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions src/krux/pages/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 9b7c51a

Please sign in to comment.