summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-12-05 01:01:32 +0100
committerhut <hut@lepus.uberspace.de>2014-12-05 01:01:32 +0100
commita4ca7aaacfebec8558b681eef076116ed8cab688 (patch)
treec601b8d581f7e959397e07d94d40b6495a126f3b
parentbb3e357a6df9c7ee6ecb351bda25a28b1e916a6e (diff)
downloadranger-a4ca7aaacfebec8558b681eef076116ed8cab688.tar.gz
config/commands.py: fix paper_* commands
It expected paper._paper_console_chain to be set, but it isn't by
default...
-rw-r--r--ranger/config/commands.py1
1 files changed, 1 insertions, 0 deletions
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