Skip to content

Commit

Permalink
Use the older universal_newlines name instead of text (qmk#6506)
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed committed Aug 7, 2019
1 parent 3cefd01 commit 90ab778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/qmk
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 90ab778

Please sign in to comment.