diff options
-rw-r--r-- | ranger/gui/curses_shortcuts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/gui/curses_shortcuts.py b/ranger/gui/curses_shortcuts.py index ac067d01..68658026 100644 --- a/ranger/gui/curses_shortcuts.py +++ b/ranger/gui/curses_shortcuts.py @@ -35,7 +35,8 @@ class CursesShortcuts(SettingsAware): try: self.win.addstr(*args) - except (curses.error, TypeError): + except (curses.error, TypeError, ValueError): + # a TE changed to VE from 3.5 (github.com/python/cpython/pull/2302) if len(args) > 1: self.win.move(y, x) |