Recipient address error message status bar unicode fix
- when reporting an error about recipient address in the status bar, it didn't correctly handle unicode
This commit is contained in:
parent
2c972fbe41
commit
ad0d2c375a
|
@ -2006,6 +2006,10 @@ class MyForm(settingsmixin.SMainWindow):
|
|||
toAddress)
|
||||
if status != 'success':
|
||||
logger.error('Error: Could not decode ' + toAddress + ':' + status)
|
||||
try:
|
||||
toAddress = unicode(toAddress, 'utf-8', 'ingore')
|
||||
except:
|
||||
pass
|
||||
|
||||
if status == 'missingbm':
|
||||
self.statusBar().showMessage(_translate(
|
||||
|
|
Loading…
Reference in New Issue
Block a user