Commit 8d148544911cac8ee100e6cf75b9e04d32db04b3

Authored by Paulo Henrique Junqueira Amorim
1 parent 849cc868

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,7 +92,7 @@ class LoadDicom:#(threading.Thread):
92 #threading.Thread.__init__(self) 92 #threading.Thread.__init__(self)
93 self.grouper = grouper 93 self.grouper = grouper
94 if sys.platform == 'win32': 94 if sys.platform == 'win32':
95 - self.filepath = filepath.encode(utils.get_system_encode()) 95 + self.filepath = filepath.encode(utils.get_system_encoding())
96 else: 96 else:
97 self.filepath = filepath 97 self.filepath = filepath
98 self.run() 98 self.run()