ReplaceValues.py: partly revert commit f075f8ad

we need a string output not a byte
This commit is contained in:
Uwe Stöhr 2017-10-17 00:23:19 +02:00
parent f075f8ad0a
commit 3835b473c7

View File

@ -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]))
##########################################