Skip to content

Commit

Permalink
follow-up 5893af5
Browse files Browse the repository at this point in the history
clean git version a bit (convert to str and remove trailing newline)
  • Loading branch information
SomberNight committed Feb 27, 2018
1 parent 375d796 commit 52d41a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/qt/exception_window.py
Expand Up @@ -182,7 +182,8 @@ def get_report_string(self):
@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):
Expand Down

0 comments on commit 52d41a4

Please sign in to comment.