summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py
index 16c6b1b5..ffdf13aa 100755
--- a/ranger.py
+++ b/ranger.py
@@ -51,7 +51,7 @@ __doc__ = """Ranger - file browser for the unix terminal"""
 if os.path.isdir('ranger'):
 	try:
 		sys.path.remove(os.path.abspath('.'))
-	except ValueError:
+	except:
 		pass
 
 # Start ranger