Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Feb 16, 2019
1 parent 303715e commit 849c1ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ def main() -> None:
js_key=parts[2],
))

with open("kvmd/data/keymap.yaml", "w") as kvmd_yaml_file:
with open("kvmd/data/keymap.yaml", "w") as keymap_yaml_file:
yaml.dump({
km.js_key: km.kvmd_code
for km in keymap
}, kvmd_yaml_file, indent=4, default_flow_style=False)
}, keymap_yaml_file, indent=4, default_flow_style=False)

with open("hid/src/keymap.h", "w") as hid_header_file:
hid_header_file.write("#pragma once\n\n#include <HID-Project.h>\n\n#include \"inline.h\"\n\n\n")
Expand Down

0 comments on commit 849c1ce

Please sign in to comment.