diff --git a/electrum/gui/qt/wizard/wallet.py b/electrum/gui/qt/wizard/wallet.py index f73647cd1..d91db9a64 100644 --- a/electrum/gui/qt/wizard/wallet.py +++ b/electrum/gui/qt/wizard/wallet.py @@ -1336,4 +1336,6 @@ class WCHWUninitialized(WizardComponent): def on_ready(self): _name, _info = self.wizard_data['hardware_device'] - self.layout().addWidget(WWLabel(_('This {} is not initialized. Cannot continue').format(_info.model_name))) + label = WWLabel(_('This {} is not initialized. Use manufacturer tooling to initialize the device.').format(_info.model_name)) + label.setAlignment(Qt.AlignCenter) + self.layout().addWidget(label) diff --git a/electrum/plugins/hw_wallet/plugin.py b/electrum/plugins/hw_wallet/plugin.py index e1b522c56..f55514fc0 100644 --- a/electrum/plugins/hw_wallet/plugin.py +++ b/electrum/plugins/hw_wallet/plugin.py @@ -201,7 +201,7 @@ class HardwareClientBase(ABC): def close(self): pass - def timeout(self, cutoff) -> None: + def timeout(self, cutoff) -> None: # noqa: B027 pass @abstractmethod @@ -261,7 +261,7 @@ class HardwareClientBase(ABC): """ return self.plugin.name - def manipulate_keystore_dict_during_wizard_setup(self, d: dict) -> None: + def manipulate_keystore_dict_during_wizard_setup(self, d: dict) -> None: # noqa: B027 """Called during wallet creation in the wizard, before the keystore is constructed for the first time. 'd' is the dict that will be passed to the keystore constructor.