diff options
author | Keenan Brock <keenan@thebrocks.net> | 2020-04-26 11:32:20 -0400 |
---|---|---|
committer | Keenan Brock <keenan@thebrocks.net> | 2020-04-26 12:19:37 -0400 |
commit | a47915d2d264ac78ae3c694b56aa00650ce12859 (patch) | |
tree | 6f08eb2f5fdf2c2b7d92abe97014436f34e132b2 | |
parent | 6ec3cc029ea7f93ddd46b05a703d754231f8a158 (diff) | |
download | firmware-a47915d2d264ac78ae3c694b56aa00650ce12859.tar.gz firmware-a47915d2d264ac78ae3c694b56aa00650ce12859.tar.bz2 firmware-a47915d2d264ac78ae3c694b56aa00650ce12859.zip |
kle2json: fix invocation error
resolves an issue while finding the file path
TypeError: unsupported operand type(s) for +: 'PosixPath' and 'str'
-rwxr-xr-x | lib/python/qmk/cli/kle2json.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/kle2json.py b/lib/python/qmk/cli/kle2json.py index 5268462f9..798f95fd1 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) |