mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
MiRCARTCanvasImportStore.py:importTextFile(): correctly open() pathName w/ encoding="utf-8" (via munki.)
This commit is contained in:
parent
8b483e262e
commit
7a1ec135b2
@ -70,7 +70,7 @@ class MiRCARTCanvasImportStore():
|
|||||||
# }}}
|
# }}}
|
||||||
# {{{ importTextFile(self, pathName): XXX
|
# {{{ importTextFile(self, pathName): XXX
|
||||||
def importTextFile(self, pathName):
|
def importTextFile(self, pathName):
|
||||||
self.inFile = open(pathName, "r")
|
self.inFile = open(pathName, "r", encoding="utf-8")
|
||||||
self.inSize = self.outMap = None;
|
self.inSize = self.outMap = None;
|
||||||
inCurColourSpec = ""; inCurRow = -1;
|
inCurColourSpec = ""; inCurRow = -1;
|
||||||
inLine = self.inFile.readline()
|
inLine = self.inFile.readline()
|
||||||
|
Loading…
Reference in New Issue
Block a user