Skip to content

Commit

Permalink
setup: fix version reader logic
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
  • Loading branch information
noxdafox committed Dec 10, 2017
1 parent f559a10 commit 3173599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def read_version(path):
except subprocess.CalledProcessError:
with open(path) as version_file:
version_string = version_file.read().split('=')[-1]
return version_string.strip().replace('"', '').decode()
return version_string.strip().replace('"', '')


def write_version(path, version):
Expand Down

0 comments on commit 3173599

Please sign in to comment.