summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/keybinding_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/keybinding_parser.py b/ranger/ext/keybinding_parser.py
index e044d80d..0330c8ec 100644
--- a/ranger/ext/keybinding_parser.py
+++ b/ranger/ext/keybinding_parser.py
@@ -95,7 +95,7 @@ special_keys = {
 	's-tab': curses.KEY_BTAB,
 }
 
-for key, val in special_keys.items():
+for key, val in tuple(special_keys.items()):
 	special_keys['a-' + key] = (27, val)
 
 for char in ascii_lowercase + '0123456789':