X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos_utils.py;h=00b687d788c5510b97b830bfdf6e022faf990e8f;hb=c2bba5bc02081b369d2117e4f19c2473d31fd21f;hp=2bc44ab54d0fa385fc55964860925466a97c448f;hpb=df3bd7f742da8c015304fa21e01eb966ff76a089;p=bertos.git diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 2bc44ab5..00b687d7 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -228,7 +228,7 @@ def csrcGenerator(project_info): cppasrc = " \\\n\t".join(cppasrc) + " \\" cxxsrc = " \\\n\t".join(cxxsrc) + " \\" asrc = " \\\n\t".join(asrc) + " \\" - constants = "\n".join([os.path.basename(project_info.info("PROJECT_PATH")) + "_" + key + " = " + str(value) for key, value in constants.items()]) + constants = "\n".join([os.path.basename(project_info.info("PROJECT_PATH")) + "_" + key + " = " + unicode(value) for key, value in constants.items()]) return csrc, pcsrc, cppasrc, cxxsrc, asrc, constants def findModuleFiles(module, project_info):