From ed60c624327de8b0accb7e3bb539f0333e1dd440 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Sun, 9 Jul 2023 14:51:45 -0400 Subject: [PATCH] Improve output of '--version' --- dotbot/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotbot/cli.py b/dotbot/cli.py index d119902..f421003 100644 --- a/dotbot/cli.py +++ b/dotbot/cli.py @@ -95,7 +95,7 @@ def main(): ["git", "rev-parse", "HEAD"], cwd=os.path.dirname(os.path.abspath(__file__)), stderr=devnull, - ) + ).decode("ascii") hash_msg = " (git %s)" % git_hash[:10] except (OSError, subprocess.CalledProcessError): hash_msg = ""