From c7815bed0d6fc359849a989adfc29e5dcd67dcc9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 13 Nov 2014 15:03:56 +0100 Subject: [PATCH] str->unicode --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index a261e6dba..e49e178e4 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -768,7 +768,7 @@ class ElectrumWindow(QMainWindow): def save_payment_request(self): addr = str(self.receive_address_e.text()) amount = self.receive_amount_e.get_amount() - message = str(self.receive_message_e.text()) + message = unicode(self.receive_message_e.text()) if not message and not amount: QMessageBox.warning(self, _('Error'), _('No message or amount'), _('OK')) return