From d36c43ff45e5f57f7b2ae507cafc3976b8c752e8 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 5 Apr 2011 17:04:18 +0200 Subject: ranger.py: minor change, more general exception handling --- ranger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ranger.py') 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 -- cgit 1.4.1-2-gfad0