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 944ce2b8..93119bce 100644
--- a/ranger/ext/keybinding_parser.py
+++ b/ranger/ext/keybinding_parser.py
@@ -97,7 +97,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':