diff --git a/klippy/util.py b/klippy/util.py index 4f018b0f..c21ace28 100644 --- a/klippy/util.py +++ b/klippy/util.py @@ -146,7 +146,7 @@ def get_git_version(from_file=True): ver, err = process.communicate() retcode = process.wait() if retcode == 0: - return ver.strip().decode() + return str(ver.strip().decode()) else: logging.debug("Error getting git version: %s", err) except: