mirror of
https://github.com/qmk/qmk_cli.git
synced 2026-08-03 15:57:04 -04:00
Fix in_qmk_firmware for Python 3.5
This commit is contained in:
@@ -33,7 +33,7 @@ def in_qmk_firmware():
|
||||
while len(cur_dir.parents) > 0:
|
||||
found_bin = cur_dir / 'bin' / 'qmk'
|
||||
if found_bin.is_file():
|
||||
command = [found_bin, '--version']
|
||||
command = [found_bin.as_posix(), '--version']
|
||||
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
if result.returncode == 0:
|
||||
|
||||
Reference in New Issue
Block a user