equal
deleted
inserted
replaced
460 programfile.write(program_text.encode("utf-8")) |
460 programfile.write(program_text.encode("utf-8")) |
461 programfile.close() |
461 programfile.close() |
462 self.ProgramFilePath = filepath |
462 self.ProgramFilePath = filepath |
463 return program_text, errors, warnings |
463 return program_text, errors, warnings |
464 except PLCGenException as ex: |
464 except PLCGenException as ex: |
465 errors.append(ex.message) |
465 errors.append(str(ex)) |
466 else: |
466 else: |
467 errors.append("No project opened") |
467 errors.append("No project opened") |
468 return "", errors, warnings |
468 return "", errors, warnings |
469 |
469 |
470 def DebugAvailable(self): |
470 def DebugAvailable(self): |