diff options
Diffstat (limited to 'ranger/colorschemes/__init__.py')
-rw-r--r-- | ranger/colorschemes/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/colorschemes/__init__.py b/ranger/colorschemes/__init__.py index 6319fa96..2318ba27 100644 --- a/ranger/colorschemes/__init__.py +++ b/ranger/colorschemes/__init__.py @@ -1,4 +1,4 @@ -from ranger.helper import get_all, log +from ranger import get_all, log from os.path import expanduser, dirname, exists, join __all__ = get_all(dirname(__file__)) @@ -9,8 +9,8 @@ confpath = expanduser('~/.ranger') if exists(join(confpath, 'colorschemes')): initpy = join(confpath, 'colorschemes/__init__.py') if not exists(initpy): - open(initpy, 'w').write("""import ranger.helper, os.path -__all__ = ranger.helper.get_all( os.path.dirname( __file__ ) ) + open(initpy, 'w').write("""import ranger, os.path +__all__ = ranger.get_all( os.path.dirname( __file__ ) ) """) try: |