Cast ByteArray to string. Fixes #1259
This commit is contained in:
parent
3e4cb396b3
commit
de535be5fc
|
@ -1200,7 +1200,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
if not URI:
|
if not URI:
|
||||||
return
|
return
|
||||||
try:
|
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:
|
except Exception as e:
|
||||||
QMessageBox.warning(self, _('Error'), _('Invalid bitcoin URI:') + '\n' + str(e), _('OK'))
|
QMessageBox.warning(self, _('Error'), _('Invalid bitcoin URI:') + '\n' + str(e), _('OK'))
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue