Browse Source

Use the older `universal_newlines` name instead of `text` (#6506)

pull/7133/head 0.6.444
skullydazed 4 years ago
committed by GitHub
parent
commit
3cb28bbe42
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/qmk

+ 1
- 1
bin/qmk 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()


Loading…
Cancel
Save