commit de535be5fc0003d7556837542e42908cc7ccd686
parent 3e4cb396b322e184021016197585dea3e8cf0ffc
Author: Maran <maran.hidskes@gmail.com>
Date: Wed, 3 Jun 2015 16:09:07 +0200
Cast ByteArray to string. Fixes #1259
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -1200,7 +1200,7 @@ class ElectrumWindow(QMainWindow):
if not URI:
return
try:
- address, amount, label, message, request_url = util.parse_URI(URI)
+ address, amount, label, message, request_url = util.parse_URI(unicode(URI))
except Exception as e:
QMessageBox.warning(self, _('Error'), _('Invalid bitcoin URI:') + '\n' + str(e), _('OK'))
return