summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-04-05 17:04:18 +0200
committerhut <hut@lavabit.com>2011-04-05 17:05:07 +0200
commitd36c43ff45e5f57f7b2ae507cafc3976b8c752e8 (patch)
treec78bcb55049d6c89825e4d143045f00ec20940eb
parentd8084b41f67b1b8470251633529cacf2ba07fb6a (diff)
downloadranger-d36c43ff45e5f57f7b2ae507cafc3976b8c752e8.tar.gz
ranger.py: minor change, more general exception handling
-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