mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-22 12:49:26 +00: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'
|
||||
|
||||
# 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')):
|
||||
|
||||
@@ -112,7 +112,7 @@ def getVersion():
|
||||
fp.close()
|
||||
|
||||
if current_version:
|
||||
return current_version
|
||||
return current_version, headphones.GIT_BRANCH
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user