Use unicode instead of str for convert strings
[bertos.git] / wizard / BToolchainPage.py
index 4f7b4bf83701c022d800de4362c30862677e5087..f85dbb1f30c44b417d01fb7c8b88eda138e65c81 100644 (file)
@@ -251,7 +251,7 @@ class BToolchainPage(BWizardPage):
             self._validation_process.start(filename, ["-v"])
             self._validation_process.waitForStarted(1000)
             if self._validation_process.waitForFinished(200):
-                description = str(self._validation_process.readAllStandardError())
+                description = unicode(self._validation_process.readAllStandardError())
                 info = bertos_utils.getToolchainInfo(description)
                 if len(info) >= 4:
                     valid = True