Fix newline fun
This commit is contained in:
parent
d811fea82c
commit
8f3b1aeff7
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ def main():
|
|||
try:
|
||||
process = subprocess.Popen(cmdsplit(cmd), stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)
|
||||
branch, _ = process.communicate()
|
||||
branch = branch.strip()
|
||||
except OSError:
|
||||
print("Git not found")
|
||||
branch="master"
|
||||
|
|
Loading…
Reference in a new issue