1
0
Fork 0

Use the older universal_newlines name instead of text ()

This commit is contained in:
skullydazed 2019-08-07 12:00:46 -07:00 committed by GitHub
parent 74d7d232e3
commit 3cb28bbe42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ with open('requirements.txt', 'r') as fd:
# Figure out our version
command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags']
result = subprocess.run(command, text=True, capture_output=True)
result = subprocess.run(command, universal_newlines=True, capture_output=True)
if result.returncode == 0:
os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip()