Commit 21c3a7cf43b1300ca8b516ec98d35b8c9dddb8c3

Authored by tfmoraes
1 parent 114d0d16

FIX: Resolved the problem with encoding on opening an invesalius 3 project in windows

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/project.py
@@ -203,7 +203,7 @@ class Project(object): @@ -203,7 +203,7 @@ class Project(object):
203 return measures 203 return measures
204 204
205 def SavePlistProject(self, dir_, filename): 205 def SavePlistProject(self, dir_, filename):
206 - dir_temp = tempfile.mkdtemp(filename) 206 + dir_temp = tempfile.mkdtemp()
207 filename_tmp = os.path.join(dir_temp, 'matrix.dat') 207 filename_tmp = os.path.join(dir_temp, 'matrix.dat')
208 208
209 project = { 209 project = {