summaryrefslogtreecommitdiff
path: root/genmap.py
diff options
context:
space:
mode:
Diffstat (limited to 'genmap.py')
-rwxr-xr-xgenmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/genmap.py b/genmap.py
index 60b2bc9b..befa38ba 100755
--- a/genmap.py
+++ b/genmap.py
@@ -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])