mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Only split once for git remote/branch
This commit is contained in:
parent
1618921a57
commit
a13f84fbf6
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def getVersion():
|
|||
|
||||
else:
|
||||
remote_branch, err = runGit('rev-parse --abbrev-ref --symbolic-full-name @{u}')
|
||||
remote_branch = remote_branch.split('/')
|
||||
remote_branch = remote_branch.rsplit('/', 1)
|
||||
if len(remote_branch) == 2:
|
||||
remote_name, branch_name = remote_branch
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue