Removes the binary option from JSON AST extraction script.

This commit is contained in:
Erik Kundt authored and Mathias Baumann committed 2020-01-28 16:11:10 +01:00
1 parent 0dd398e2ac
commit 4a87f6e403
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ def writeSourceToFile(lines):
if __name__ == '__main__':
filePath = sys.argv[1]
# decide if file has multiple sources
lines = open(filePath, mode='rb', encoding='utf8').read().splitlines()
lines = open(filePath, mode='r', encoding='utf8').read().splitlines()
if lines[0][:12] == "==== Source:":
hasMultipleSources = True
writeSourceToFile(lines)