X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBToolchainPage.py;h=24105c196d50391811ff6570d6929417cd7c9476;hb=83fc7933f968173822ed3f636d75860d4a747e76;hp=4f7b4bf83701c022d800de4362c30862677e5087;hpb=df3bd7f742da8c015304fa21e01eb966ff76a089;p=bertos.git diff --git a/wizard/BToolchainPage.py b/wizard/BToolchainPage.py index 4f7b4bf8..24105c19 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -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 @@ -288,4 +288,6 @@ class BToolchainPage(BWizardPage): Enable the remove button. """ self.pageContent.removeButton.setEnabled(True) - \ No newline at end of file + + def currentItem(self): + return self.pageContent.toolchainList.currentItem()