summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/colorscheme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/colorscheme.py b/ranger/gui/colorscheme.py
index d6afcacc..d2b3b2d2 100644
--- a/ranger/gui/colorscheme.py
+++ b/ranger/gui/colorscheme.py
@@ -86,7 +86,7 @@ def _colorscheme_name_to_class(signal):
     usecustom = not ranger.arg.clean
 
     def exists(colorscheme):
-        return os.path.exists(colorscheme + '.py')
+        return os.path.exists(colorscheme + '.py') or os.path.exists(colorscheme + '.pyc')
 
     def is_scheme(x):
         try: