Skip to content

Commit

Permalink
Merge pull request #20 from Clever/fix-versioning
Browse files Browse the repository at this point in the history
decode byte string
  • Loading branch information
garrgordon authored Apr 21, 2022
2 parents 4924f80 + 96c21b0 commit 388d696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var/
*.egg-info/
.installed.cfg
*.egg
.eggs

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pkg_resources

version_file = pkg_resources.resource_stream(__name__, "VERSION")
VERSION = version_file.readline().strip()
VERSION = version_file.readline().decode("utf-8").strip()

0 comments on commit 388d696

Please sign in to comment.