From a4ca7aaacfebec8558b681eef076116ed8cab688 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 5 Dec 2014 01:01:32 +0100 Subject: config/commands.py: fix paper_* commands It expected paper._paper_console_chain to be set, but it isn't by default... --- ranger/config/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index db14403f..49d8f213 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1330,6 +1330,7 @@ class paper(Command): manager module of ranger and can be later displayed in ranger, for example by setting the option "linemode" to "papertitle". """ + _paper_console_chain = None def execute(self): # TODO: This sets a pseudo-global variable containing a stack of # commands that should be opened in the console next. It's a -- cgit 1.4.1-2-gfad0