Fix in_qmk_firmware for Python 3.5

This commit is contained in:
zvecr
2019-10-10 14:44:52 +01:00
committed by skullydazed
parent e077319a16
commit 73628cc6b0
+1 -1
View File
@@ -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: