From a97d36163ae9f9822daca1bb49b0b671488108a4 Mon Sep 17 00:00:00 2001 From: crouzet Date: Thu, 12 Mar 2020 14:21:06 +0100 Subject: [PATCH] decode byte string --- src/system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/system.py b/src/system.py index eeb2a9a..3a87433 100644 --- a/src/system.py +++ b/src/system.py @@ -68,7 +68,8 @@ def git_describe(repo_path): if p.returncode != 0: return False else: - return p.stdout.readlines()[0].strip() + tag_description=p.stdout.readlines()[0].strip() + return tag_description.decode('utf-8') def git_extract(from_what, tag, where, logger, environment=None): -- 2.39.2