diff options
-rw-r--r-- | ranger/container/fsobject.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py index ea548b56..7de889bf 100644 --- a/ranger/container/fsobject.py +++ b/ranger/container/fsobject.py @@ -342,12 +342,10 @@ class FileSystemObject( # pylint: disable=too-many-instance-attributes,too-many if self.permissions is not None: return self.permissions - if self.is_directory and self.is_link: + if self.is_link: perms = ['l'] elif self.is_directory: perms = ['d'] - elif self.is_link: - perms = ['l'] else: perms = ['-'] |