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 e7b6324866
commit 6593aa594e

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()