Skip to content

Commit

Permalink
Update version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rcervinoucm authored May 24, 2024
1 parent 9f4c939 commit 7fc689e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctlearn/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_git_describe_version(abbrev=7):
with open(devnull, "w") as fnull:
arguments = [GIT_COMMAND, "describe", "--tags", "--abbrev=%d" % abbrev]
print(CURRENT_DIRECTORY)
print(check_output(arguments, cwd=CURRENT_DIRECTORY, stderr=fnull).decode("ascii"))
print(check_output(arguments, cwd=CURRENT_DIRECTORY, stderr=fnull).decode("ascii").strip())
return (
check_output(arguments, cwd=CURRENT_DIRECTORY, stderr=fnull)
.decode("ascii")
Expand Down

0 comments on commit 7fc689e

Please sign in to comment.