Skip to content

Commit a80fb84

Browse files
committed
fix(version): Bytes -> str
1 parent 7bf9fb4 commit a80fb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def get_version():
77
tag = check_output(
88
["git", "describe", "--tags", "--abbrev=0", "--match=[0-9]*"]
99
)
10-
return tag.strip("\n")
10+
return tag.decode('utf-8').strip("\n")
1111
except Exception:
1212
# if somehow you get the repo not from git,
1313
# hardcode default major version

0 commit comments

Comments
 (0)