Commit 3e89f362261ad68e8565d89905fab4917bb5ed4f
1 parent
375cdfbc
Exists in
master
and in
67 other branches
ENH: Determines the encoding based in the operating system
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/reader/dicom_reader.py
| ... | ... | @@ -177,7 +177,7 @@ class LoadDicom(threading.Thread): |
| 177 | 177 | |
| 178 | 178 | # -------------- To Create DICOM Thumbnail ----------- |
| 179 | 179 | rvtk = vtkgdcm.vtkGDCMImageReader() |
| 180 | - rvtk.SetFileName(filepath.encode(utils.get_encoding_operation())) | |
| 180 | + rvtk.SetFileName(filepath.encode(utils.get_system_encoding())) | |
| 181 | 181 | rvtk.Update() |
| 182 | 182 | |
| 183 | 183 | try: | ... | ... |