diff options
author | hut <hut@lavabit.com> | 2010-03-12 20:31:41 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-12 20:31:41 +0100 |
commit | a049ec03ac8349c231c04abe196cf1eca98a9c12 (patch) | |
tree | 067a4e817537d6b2cd0235967ce93401eed6c2d8 /ranger | |
parent | 5d4f9249860ea66b929a3a0c4d215cf35067b5f8 (diff) | |
download | ranger-a049ec03ac8349c231c04abe196cf1eca98a9c12.tar.gz |
fixed `ranger <file>`
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |