mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix newline fun
This commit is contained in:
1 parent
d811fea82c
commit
8f3b1aeff7
1 file changed
+1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user