tfollow-up 5893af5025a66121f95f9492f70c16cdf00b565b - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 52d41a4339c70a367e8555f4d9ad6eff22561290 DIR parent 375d7965d7d5534312a8523a60e446bdec94865d HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 27 Feb 2018 03:06:49 +0100 follow-up 5893af5025a66121f95f9492f70c16cdf00b565b clean git version a bit (convert to str and remove trailing newline) Diffstat: M gui/qt/exception_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/exception_window.py b/gui/qt/exception_window.py t@@ -182,7 +182,8 @@ class Exception_Window(QWidget): @staticmethod def get_git_version(): dir = os.path.dirname(os.path.realpath(sys.argv[0])) - return subprocess.check_output(['git', 'describe', '--always'], cwd=dir) + version = subprocess.check_output(['git', 'describe', '--always'], cwd=dir) + return str(version, "utf8").strip() def _show_window(*args):