Remove Unicode mode from file read.

Hope this fixes the issue with Erics source file getting nuked
This commit is contained in:
Worros 2009-02-19 22:58:29 +09:00
parent 98ea23cd49
commit bc8f1b56b6

View File

@ -237,7 +237,7 @@ class HandHistoryConverter:
"""Read file"""
print "Reading file: '%s'" %(filename)
if(self.filetype == "text"):
infile=codecs.open(filename, "rU", self.codepage)
infile=codecs.open(filename, "r", self.codepage)
self.obs = infile.read()
infile.close()
elif(self.filetype == "xml"):