diff --git a/invesalius/reader/dicom_reader.py b/invesalius/reader/dicom_reader.py index e33f2a8..9562531 100644 --- a/invesalius/reader/dicom_reader.py +++ b/invesalius/reader/dicom_reader.py @@ -92,7 +92,7 @@ class LoadDicom:#(threading.Thread): #threading.Thread.__init__(self) self.grouper = grouper if sys.platform == 'win32': - self.filepath = filepath.encode(utils.get_system_encode()) + self.filepath = filepath.encode(utils.get_system_encoding()) else: self.filepath = filepath self.run() -- libgit2 0.21.2