electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 52d41a4339c70a367e8555f4d9ad6eff22561290
parent 375d7965d7d5534312a8523a60e446bdec94865d
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:
Mgui/qt/exception_window.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/qt/exception_window.py b/gui/qt/exception_window.py @@ -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):