Fix for python 3.6
This commit is contained in:
parent
79a13dddfe
commit
e06f41a40f
@ -9,7 +9,7 @@ def describe(directory=None):
|
||||
|
||||
ret = subprocess.run(
|
||||
['git', 'show', '--no-patch', '--date=short', '--format=%cd.%h'],
|
||||
capture_output=True, text=True)
|
||||
stdin=subprocess.PIPE, stdout=subprocess.PIPE, universal_newlines=True)
|
||||
|
||||
if directory:
|
||||
os.chdir(cwd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user