[processing] convert messages to unicode (fix #14286)

This commit is contained in:
Alexander Bruy 2016-02-18 14:09:34 +02:00
parent bcded3c2d4
commit 61a92e2fac

View File

@ -333,7 +333,7 @@ class Processing:
msg = alg._checkParameterValuesBeforeExecuting()
if msg:
print 'Unable to execute algorithm\n' + msg
print 'Unable to execute algorithm\n' + unicode(msg)
QgsMessageLog.logMessage(Processing.tr('Unable to execute algorithm\n{0}').format(msg), Processing.tr("Processing"))
return