diff options
author | toonn <toonn@toonn.io> | 2021-07-15 20:44:06 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-07-15 20:44:06 +0200 |
commit | f7e9796cf85e104f30d56e63922484c763ca6c77 (patch) | |
tree | 5ab580ba1fff54f50565e89c1c97c2d6ea1fcceb | |
parent | 643492ea144c63db4cb13af96aa914b3e5062e97 (diff) | |
download | ranger-f7e9796cf85e104f30d56e63922484c763ca6c77.tar.gz |
actions.py: Simplify a boolean condition to appease pylint
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 16bc8133..945abcb6 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -315,7 +315,7 @@ class Actions( # pylint: disable=too-many-instance-attributes,too-many-public-m macros['t'] = lambda: [fl.relative_path for fl in self.fm.thisdir.files if fl.realpath in - self.fm.tags or []] + self.fm.tags] macros['d'] = macro_val(lambda: self.fm.thisdir.path, fallback='.') |