]> git.lyx.org Git - features.git/commitdiff
ReplaceValues.py: partly revert commit f075f8ad
authorUwe Stöhr <uwestoehr@lyx.org>
Mon, 16 Oct 2017 22:23:19 +0000 (00:23 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Mon, 16 Oct 2017 22:23:19 +0000 (00:23 +0200)
we need a string output not a byte

development/cmake/doc/ReplaceValues.py

index 41ed6e212c51409861a31f8101c95f5fe86128b5..ded26cb3316492e6f7d4071406b12c62393521b9 100755 (executable)
@@ -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]))
 
 ##########################################