MiRCARTCanvasImportStore.py:importTextFile(): correctly open() pathName w/ encoding="utf-8" (via munki.)

This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-06-22 11:38:47 +02:00
parent 8b483e262e
commit 7a1ec135b2
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class MiRCARTCanvasImportStore():
# }}}
# {{{ importTextFile(self, pathName): XXX
def importTextFile(self, pathName):
self.inFile = open(pathName, "r")
self.inFile = open(pathName, "r", encoding="utf-8")
self.inSize = self.outMap = None;
inCurColourSpec = ""; inCurRow = -1;
inLine = self.inFile.readline()