fix(docs) handle tuple
This commit is contained in:
@@ -23,7 +23,7 @@ def cmd(s):
|
|||||||
|
|
||||||
# Get the current branch name
|
# Get the current branch name
|
||||||
status, br = subprocess.getstatusoutput("git branch | grep '*'")
|
status, br = subprocess.getstatusoutput("git branch | grep '*'")
|
||||||
gitcommit = subprocess.getstatusoutput("git rev-parse HEAD")
|
_, gitcommit = subprocess.getstatusoutput("git rev-parse HEAD")
|
||||||
br = re.sub('\* ', '', br)
|
br = re.sub('\* ', '', br)
|
||||||
urlpath = re.sub('release/', '', br)
|
urlpath = re.sub('release/', '', br)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user