diff options
author | hut <hut@lavabit.com> | 2011-10-10 23:07:13 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-10 23:07:13 +0200 |
commit | 259939558dcc39c64ad546d74cd0eb62a9667030 (patch) | |
tree | b19f26c1c02f1d6a90db62c24e6cab02099548bf | |
parent | bf9c5c988aa19e8e9a1cdd3c7b8aef1c8cb74f59 (diff) | |
download | ranger-259939558dcc39c64ad546d74cd0eb62a9667030.tar.gz |
core.actions: Fixed %t tag in --clean mode
-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 cde80431..6449456b 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -157,7 +157,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): macros['c'] = [fl.path for fl in self.fm.env.copy] macros['t'] = [fl.basename for fl in self.fm.env.cwd.files - if fl.realpath in self.fm.tags] + if fl.realpath in (self.fm.tags or [])] if self.fm.env.cwd: macros['d'] = self.fm.env.cwd.path |