diff options
author | hut <hut@hut.pm> | 2019-04-03 17:57:22 +0200 |
---|---|---|
committer | hut <hut@hut.pm> | 2019-04-03 17:57:22 +0200 |
commit | 2ce165baa011d8e5243408f086b9e0059bdaae70 (patch) | |
tree | a506fb444de5768a4988bbba51c37b52cb9315d3 | |
parent | 55801cb4121c47f2af5dab6e62838505a9882c0b (diff) | |
download | ranger-2ce165baa011d8e5243408f086b9e0059bdaae70.tar.gz |
core.main: fixed error when starting in inaccessible path
-rw-r--r-- | ranger/core/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py index 6fdd5366..23648677 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -105,7 +105,8 @@ def main( if not os.access(path_abs, os.F_OK): paths_inaccessible += [path] if paths_inaccessible: - print('Inaccessible paths: {0}'.format(paths), file=sys.stderr) + print('Inaccessible paths: {0}'.format(', '.join(paths_inaccessible)), + file=sys.stderr) return 1 profile = None |