From 849c1ce67eb1ab94f886cb719e13b5b9f4ec55f8 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 16 Feb 2019 21:17:04 +0300 Subject: refactoring --- genmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'genmap.py') diff --git a/genmap.py b/genmap.py index 989d8e45..84cfcdef 100755 --- a/genmap.py +++ b/genmap.py @@ -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 \n\n#include \"inline.h\"\n\n\n") -- cgit v1.2.3