mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
ReplaceValues.py: partly revert commit f075f8ad
we need a string output not a byte
This commit is contained in:
parent
f075f8ad0a
commit
3835b473c7
@ -35,7 +35,7 @@ def SubstituteDataInLine(line):
|
||||
|
||||
def SubstituteDataInFile(InFile):
|
||||
for line in codecs.open(InFile, 'r', 'utf-8'):
|
||||
print(SubstituteDataInLine(line[:-1]).encode("utf-8"))
|
||||
print(SubstituteDataInLine(line[:-1]))
|
||||
|
||||
##########################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user