diff options
-rwxr-xr-x | ranger/ext/rifle.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index 9b5fe2c9..55a81df0 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -20,11 +20,14 @@ import re from subprocess import Popen, PIPE import sys +# Options and constants that a user might want to change: DEFAULT_PAGER = 'less' DEFAULT_EDITOR = 'nano' ASK_COMMAND = 'ask' ENCODING = 'utf-8' +# Imports from ranger library, plus reimplementations in case ranger is not +# installed so rifle can be run as a standalone program. try: from ranger.ext.get_executables import get_executables except ImportError: |