forked from openlp/openlp
Better fix for quotes
This commit is contained in:
parent
3c71e91498
commit
2e818e8fd6
3
cnvdb.py
3
cnvdb.py
@ -31,8 +31,7 @@ class Convert():
|
|||||||
writefile = codecs.open(outname, 'w', encoding='utf-8')
|
writefile = codecs.open(outname, 'w', encoding='utf-8')
|
||||||
for line in infile:
|
for line in infile:
|
||||||
#replace the quotes with quotes
|
#replace the quotes with quotes
|
||||||
line, replace(u'\x93', "'")
|
line, replace("''", "'")
|
||||||
line, replace(u'\x94', "'")
|
|
||||||
writefile.write(line)
|
writefile.write(line)
|
||||||
infile.close()
|
infile.close()
|
||||||
writefile.close()
|
writefile.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user