summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli
diff options
context:
space:
mode:
authorKeenan Brock <keenan@thebrocks.net>2020-04-26 11:32:20 -0400
committerFlorian Didron <fdidron@users.noreply.github.com>2020-06-12 17:00:27 +0900
commitdf51ac1db18cb6c76ca2ede501809eaaf3f32735 (patch)
tree1c41c546ee282f41104929d229d68652759c7ffc /lib/python/qmk/cli
parentfa2c9558802daf546410fdea85aa205b4a1d41a7 (diff)
kle2json: fix invocation error
resolves an issue while finding the file path TypeError: unsupported operand type(s) for +: 'PosixPath' and 'str'
Diffstat (limited to 'lib/python/qmk/cli')
-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)