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