Fix encoding problem in the written Stars HHs.

This commit is contained in:
Ray 2009-08-11 17:43:28 -04:00
parent 7882e735aa
commit d69ab83ee5

View File

@ -62,7 +62,7 @@ class HandHistoryConverter():
if not os.path.isdir(out_dir) and out_dir != '':
logging.info("Creatin directory '%s'" % out_dir)
os.makedirs(out_dir)
self.out_fh = open(self.out_path, 'w')
self.out_fh = codecs.open(self.out_path, 'w', 'cp1252')
self.sitename = sitename
self.follow = follow