about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-07-15 20:44:06 +0200
committertoonn <toonn@toonn.io>2021-07-15 20:44:06 +0200
commitf7e9796cf85e104f30d56e63922484c763ca6c77 (patch)
tree5ab580ba1fff54f50565e89c1c97c2d6ea1fcceb
parent643492ea144c63db4cb13af96aa914b3e5062e97 (diff)
downloadranger-f7e9796cf85e104f30d56e63922484c763ca6c77.tar.gz
actions.py: Simplify a boolean condition to appease pylint
-rw-r--r--ranger/core/actions.py2
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='.')