Commit 21ba5093 authored by Jerome Flesch's avatar Jerome Flesch Yet another fix ...

parent aaa3b275
......@@ -30,6 +30,7 @@ if == 'nt':
stdout=subprocess.PIPE, stderr=subprocess.STDOUT
version = version.stdout.decode("utf-8").strip()
version = version.split("-")[0]
with open('src/pyocr/', 'w') as fd:
fd.write("version = '{}'\n".format(version))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment