diff options
author | arkedos <dennis.marbaise@mailbox.org> | 2019-10-16 18:43:43 +0200 |
---|---|---|
committer | arkedos <dennis.marbaise@mailbox.org> | 2019-10-16 18:43:43 +0200 |
commit | b6d0d9dda92d98ce66f537c4728fdb4b89dd35df (patch) | |
tree | d249e7ba1c13780eb9e803ca59661e19d3c2b57c /ranger | |
parent | 2151d9413f095334e276a268e0d0b4aea870e985 (diff) | |
download | ranger-b6d0d9dda92d98ce66f537c4728fdb4b89dd35df.tar.gz |
reworked if statement to elif
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/fsobject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py index 665938d5..ea548b56 100644 --- a/ranger/container/fsobject.py +++ b/ranger/container/fsobject.py @@ -344,7 +344,7 @@ class FileSystemObject( # pylint: disable=too-many-instance-attributes,too-many if self.is_directory and self.is_link: perms = ['l'] - if self.is_directory: + elif self.is_directory: perms = ['d'] elif self.is_link: perms = ['l'] |