diff options
author | hut <hut@lavabit.com> | 2010-03-12 00:38:07 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-12 00:46:48 +0100 |
commit | 94c5d83e6752cf6506c78c9454c08b9f3df9371c (patch) | |
tree | 23bb25c0c94607b605da6ad6795ed0b7bd9f7708 /ranger | |
parent | fff320285cfd4844547afac4056b788b2db3a2ee (diff) | |
download | ranger-94c5d83e6752cf6506c78c9454c08b9f3df9371c.tar.gz |
misc changes, make install
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/__init__.py | 3 | ||||
-rw-r--r-- | ranger/colorschemes/default88.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index 8bd978d7..f4a54279 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -29,6 +29,7 @@ __copyright__ = """ Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com> """ +arg = None USAGE = '%prog [options] [path/filename]' DEFAULT_CONFDIR = '~/.ranger' RANGERDIR = os.path.dirname(__file__) @@ -62,4 +63,4 @@ def relpath(*paths): return os.path.join(RANGERDIR, *paths) -from ranger.__main__ import main +from ranger.__main__ import main, parse_arguments diff --git a/ranger/colorschemes/default88.py b/ranger/colorschemes/default88.py index b78d1bb5..9af6dca7 100644 --- a/ranger/colorschemes/default88.py +++ b/ranger/colorschemes/default88.py @@ -30,7 +30,7 @@ class Scheme(Default): def use(self, context): fg, bg, attr = Default.use(self, context) - if curses.COLORS != 88: + if curses.COLORS < 88: return fg, bg, attr try: |