Commit 8d148544911cac8ee100e6cf75b9e04d32db04b3
1 parent
849cc868
Exists in
master
and in
67 other branches
FIX: Fix problem unicode
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/reader/dicom_reader.py
| ... | ... | @@ -92,7 +92,7 @@ class LoadDicom:#(threading.Thread): |
| 92 | 92 | #threading.Thread.__init__(self) |
| 93 | 93 | self.grouper = grouper |
| 94 | 94 | if sys.platform == 'win32': |
| 95 | - self.filepath = filepath.encode(utils.get_system_encode()) | |
| 95 | + self.filepath = filepath.encode(utils.get_system_encoding()) | |
| 96 | 96 | else: |
| 97 | 97 | self.filepath = filepath |
| 98 | 98 | self.run() | ... | ... |