Browse Source

follow-up 5893af5025

clean git version a bit (convert to str and remove trailing newline)
3.1
SomberNight 7 years ago
parent
commit
52d41a4339
  1. 3
      gui/qt/exception_window.py

3
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):

Loading…
Cancel
Save