From ed6c6bae2488d7f29b6c4f876d69bb09c93479cc Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 19 Aug 2015 10:24:11 +0200 Subject: [PATCH] fix typo --- plugins/trezor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/trezor.py b/plugins/trezor.py index 386602d8..ad46679c 100644 --- a/plugins/trezor.py +++ b/plugins/trezor.py @@ -640,7 +640,7 @@ class TrezorQtHandler: QMessageBox.critical(None, _('Error'), _("Password request canceled"), _('OK')) self.passphrase = None else: - self.passphrase = unicodedata.normalize('NFKD', unicode(passphrase)) if passphrase emse '' + self.passphrase = unicodedata.normalize('NFKD', unicode(passphrase)) if passphrase else '' self.done.set() def message_dialog(self):