From bc8f1b56b69987dc40fb28ae98fe266568b33de1 Mon Sep 17 00:00:00 2001 From: Worros Date: Thu, 19 Feb 2009 22:58:29 +0900 Subject: [PATCH] Remove Unicode mode from file read. Hope this fixes the issue with Erics source file getting nuked --- pyfpdb/HandHistoryConverter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index 9b22f42b..9af87d62 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -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"):