64 |
64 |
65 try: |
65 try: |
66 jsonString = json.dumps(multiProjectDict, indent=2) |
66 jsonString = json.dumps(multiProjectDict, indent=2) |
67 with open(filename, "w") as f: |
67 with open(filename, "w") as f: |
68 f.write(jsonString) |
68 f.write(jsonString) |
69 except (TypeError, OSError) as err: |
69 except (OSError, TypeError) as err: |
70 with EricOverridenCursor(): |
70 with EricOverridenCursor(): |
71 EricMessageBox.critical( |
71 EricMessageBox.critical( |
72 None, |
72 None, |
73 self.tr("Save Multi Project File"), |
73 self.tr("Save Multi Project File"), |
74 self.tr( |
74 self.tr( |