mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-04-07 14:06:31 +08:00
Fix for python3
This commit is contained in:
@ -17,7 +17,7 @@ def get_branch_name(directory):
|
||||
try:
|
||||
stdout, stderr = popen.communicate()
|
||||
popen.wait()
|
||||
current_branch = stdout.strip()
|
||||
current_branch = stdout.strip().decode("utf-8")
|
||||
finally:
|
||||
popen.stdout.close()
|
||||
popen.stderr.close()
|
||||
|
||||
Reference in New Issue
Block a user