mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-20 16:03:59 +01:00
Little fix to make sure zip/exe users don't get an error
This commit is contained in:
@@ -65,7 +65,7 @@ def getVersion():
|
|||||||
headphones.INSTALL_TYPE = 'win'
|
headphones.INSTALL_TYPE = 'win'
|
||||||
|
|
||||||
# Don't have a way to update exe yet, but don't want to set VERSION to None
|
# Don't have a way to update exe yet, but don't want to set VERSION to None
|
||||||
return 'Windows Install'
|
return 'Windows Install', 'master'
|
||||||
|
|
||||||
elif os.path.isdir(os.path.join(headphones.PROG_DIR, '.git')):
|
elif os.path.isdir(os.path.join(headphones.PROG_DIR, '.git')):
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ def getVersion():
|
|||||||
fp.close()
|
fp.close()
|
||||||
|
|
||||||
if current_version:
|
if current_version:
|
||||||
return current_version
|
return current_version, headphones.GIT_BRANCH
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user