Commit 750ab452b6f9d0d06817490f3cb21237671575fa
1 parent
6261edc1
Exists in
master
fix error on json serialization
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/session.py
... | ... | @@ -106,11 +106,11 @@ class Session(with_metaclass(Singleton, object)): |
106 | 106 | }, |
107 | 107 | |
108 | 108 | 'project': { |
109 | - 'recent_projects': [(inv_paths.SAMPLE_DIR, u"Cranium.inv3"), ], | |
109 | + 'recent_projects': [(str(inv_paths.SAMPLE_DIR), u"Cranium.inv3"), ], | |
110 | 110 | }, |
111 | 111 | |
112 | 112 | 'paths': { |
113 | - 'homedir': inv_paths.USER_DIR, | |
113 | + 'homedir': str(inv_paths.USER_DIR), | |
114 | 114 | 'tempdir': os.path.join(homedir, u".invesalius", u"temp"), |
115 | 115 | 'last_dicom_folder': '', |
116 | 116 | }, | ... | ... |