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