mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
follow-up 5893af5025
clean git version a bit (convert to str and remove trailing newline)
This commit is contained in:
parent
375d7965d7
commit
52d41a4339
1 changed files with 2 additions and 1 deletions
|
@ -182,7 +182,8 @@ class Exception_Window(QWidget):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_git_version():
|
def get_git_version():
|
||||||
dir = os.path.dirname(os.path.realpath(sys.argv[0]))
|
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):
|
def _show_window(*args):
|
||||||
|
|
Loading…
Add table
Reference in a new issue