From a049ec03ac8349c231c04abe196cf1eca98a9c12 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 12 Mar 2010 20:31:41 +0100 Subject: fixed `ranger ` --- ranger/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/__main__.py b/ranger/__main__.py index 9c97e190..23491c28 100644 --- a/ranger/__main__.py +++ b/ranger/__main__.py @@ -111,7 +111,7 @@ def main(): # Initialize objects if arg.targets: - target = arg.target[0] + target = arg.targets[0] if not os.access(target, os.F_OK): print("File or directory doesn't exist: %s" % target) sys.exit(1) -- cgit 1.4.1-2-gfad0