Commit 375cdfbc4660e01fedfa7256fc82c02801e71adf
1 parent
5fc42254
Exists in
master
and in
5 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.encoding(utils.get_encoding_operation())) | |
180 | + rvtk.SetFileName(filepath.encode(utils.get_encoding_operation())) | |
181 | 181 | rvtk.Update() |
182 | 182 | |
183 | 183 | try: | ... | ... |