From 8d148544911cac8ee100e6cf75b9e04d32db04b3 Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Fri, 3 Dec 2010 16:46:32 +0000 Subject: [PATCH] FIX: Fix problem unicode --- invesalius/reader/dicom_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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