Commit 274fff72a73bce85f4d3c2e4790847d3cc2add7c

Authored by Paulo Henrique Junqueira Amorim
1 parent 040d3ec0

FIX: Problem load DICOM with caracter "\" in the patient name

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
invesalius/control.py
@@ -335,6 +335,9 @@ class Controller(): @@ -335,6 +335,9 @@ class Controller():
335 ###### 335 ######
336 session = ses.Session() 336 session = ses.Session()
337 filename = proj.name+".inv3" 337 filename = proj.name+".inv3"
  338 +
  339 + filename = filename.replace("/", "") #Fix problem case other/Skull_DICOM
  340 +
338 dirpath = session.CreateProject(filename) 341 dirpath = session.CreateProject(filename)
339 proj.SavePlistProject(dirpath, filename) 342 proj.SavePlistProject(dirpath, filename)
340 343