--- a/PLCControler.py Wed Dec 19 13:32:04 2012 +0100
+++ b/PLCControler.py Wed Dec 19 13:32:51 2012 +0100
@@ -720,7 +720,7 @@
try:
self.ProgramChunks = GenerateCurrentProgram(self, self.Project, errors, warnings)
self.NextCompiledProject = self.Copy(self.Project)
- program_text = "".join([item[0].decode("utf-8") for item in self.ProgramChunks])
+ program_text = "".join([item[0] for item in self.ProgramChunks])
if filepath is not None:
programfile = open(filepath, "w")
programfile.write(program_text.encode("utf-8"))