equal
deleted
inserted
replaced
2594 |
2594 |
2595 if filepath: |
2595 if filepath: |
2596 xmlfile = open(filepath,"w") |
2596 xmlfile = open(filepath,"w") |
2597 else: |
2597 else: |
2598 xmlfile = open(self.FilePath,"w") |
2598 xmlfile = open(self.FilePath,"w") |
2599 xmlfile.write(text) |
2599 xmlfile.write(text.encode("utf-8")) |
2600 xmlfile.close() |
2600 xmlfile.close() |
2601 self.MarkProjectAsSaved() |
2601 self.MarkProjectAsSaved() |
2602 if filepath: |
2602 if filepath: |
2603 self.SetFilePath(filepath) |
2603 self.SetFilePath(filepath) |
2604 return True |
2604 return True |