diff options
author | Devaev Maxim <[email protected]> | 2019-06-28 18:59:36 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-06-28 18:59:36 +0300 |
commit | ef3c62a7af520673154233e2d3c89492ffec3195 (patch) | |
tree | 2b78c5918143eff8ef2c89484ac99fc6b7588438 /genmap.py | |
parent | ff270591b032cc1f8e342f20a04b84e5dbb31191 (diff) |
f-strings
Diffstat (limited to 'genmap.py')
-rwxr-xr-x | genmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ def _render_keymap(keymap: List[_KeyMapping], template_path: str, out_path: str) # ===== def main() -> None: - assert len(sys.argv) == 4, "%s <keymap.in> <template> <out>" % (sys.argv[0]) + assert len(sys.argv) == 4, f"{sys.argv[0]} <keymap.in> <template> <out>" keymap = _read_keymap_in(sys.argv[1]) _render_keymap(keymap, sys.argv[2], sys.argv[3]) |