Fix encoding problem in the written Stars HHs.
This commit is contained in:
parent
7882e735aa
commit
d69ab83ee5
|
@ -62,7 +62,7 @@ class HandHistoryConverter():
|
||||||
if not os.path.isdir(out_dir) and out_dir != '':
|
if not os.path.isdir(out_dir) and out_dir != '':
|
||||||
logging.info("Creatin directory '%s'" % out_dir)
|
logging.info("Creatin directory '%s'" % out_dir)
|
||||||
os.makedirs(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.sitename = sitename
|
||||||
self.follow = follow
|
self.follow = follow
|
||||||
|
|
Loading…
Reference in New Issue
Block a user