summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/kle2json.py
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-04-26 22:23:54 +0100
committerGitHub <noreply@github.com>2020-04-26 22:23:54 +0100
commit3cb6fb29359b8fea1087039a4d458c70109fddaf (patch)
treee35047da8f008a4338f1619b27fcf01c1c2b1984 /lib/python/qmk/cli/kle2json.py
parent6ec3cc029ea7f93ddd46b05a703d754231f8a158 (diff)
parent5c666398d55708915091a08299dc7d493b37db3c (diff)
Merge pull request #8931 from kbrock/kle2info_2
[kle2json] fix rounding in output
Diffstat (limited to 'lib/python/qmk/cli/kle2json.py')
-rwxr-xr-xlib/python/qmk/cli/kle2json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/kle2json.py b/lib/python/qmk/cli/kle2json.py
index 5268462f92..798f95fd19 100755
--- a/lib/python/qmk/cli/kle2json.py
+++ b/lib/python/qmk/cli/kle2json.py
@@ -69,7 +69,7 @@ def kle2json(cli):
# Replace layout in keyboard json
keyboard = keyboard.replace('"LAYOUT_JSON_HERE"', layout)
# Write our info.json
- file = open(out_path + "/info.json", "w")
+ file = open(out_path / "info.json", "w")
file.write(keyboard)
file.close()
cli.log.info('Wrote out {fg_cyan}%s/info.json', out_path)