mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-10 05:59:44 +00:00
Use the older universal_newlines
name instead of text
(#6506)
This commit is contained in:
parent
74d7d232e3
commit
3cb28bbe42
1 changed files with 1 additions and 1 deletions
2
bin/qmk
2
bin/qmk
|
@ -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…
Reference in a new issue