mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-27 01:06:38 +00:00
MiRCARTCanvasImportStore.py:importTextFile(): correctly open() pathName w/ encoding="utf-8" (via munki.)
This commit is contained in:
parent
e7b6324866
commit
6593aa594e
@ -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