X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBModulePage.py;h=38bc8a531183b6673ee7457838c9ec9ee63fbc1c;hb=c3940812348cdbd6ff4dd62a0577a97d75fe8765;hp=9fbcf01554620df8fbbead350be21f1548feb64c;hpb=df3bd7f742da8c015304fa21e01eb966ff76a089;p=bertos.git diff --git a/wizard/BModulePage.py b/wizard/BModulePage.py index 9fbcf015..38bc8a53 100644 --- a/wizard/BModulePage.py +++ b/wizard/BModulePage.py @@ -189,7 +189,7 @@ class BModulePage(BWizardPage): configuration = self.projectInfo("MODULES")[self.currentModule()]["configuration"] configurations = self.projectInfo("CONFIGURATIONS") if "type" not in configurations[configuration][property]["informations"] or configurations[configuration][property]["informations"]["type"] == "int": - configurations[configuration][property]["value"] = str(int(self.pageContent.propertyTable.cellWidget(index, 1).value())) + configurations[configuration][property]["value"] = unicode(int(self.pageContent.propertyTable.cellWidget(index, 1).value())) elif configurations[configuration][property]["informations"]["type"] == "enum": configurations[configuration][property]["value"] = unicode(self.pageContent.propertyTable.cellWidget(index, 1).currentText()) elif configurations[configuration][property]["informations"]["type"] == "boolean":