Skip to content
Browse files
Avoid name clash with builtin filter function.
  • Loading branch information
felixfontein committed Jun 4, 2017
1 parent 2c602a3 commit 807ed73ee570a32d1fdcc6dbdedbeb7d22fb1852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
@@ -1193,9 +1193,9 @@ def init_plugins(self, commands_only=False, load_all=False):
for i, f in list(enumerate(actions)):
if isinstance(f, str):
# Check whether this denotes a registered filter
filter = self.filters.get(f)
if filter is not None:
f = filter
_f = self.filters.get(f)
if _f is not None:
f = _f
actions[i] = f
if hasattr(f, 'configuration_variables'):
args = {}
@@ -108,9 +108,9 @@ def tl_ch():
for i, f in enumerate(ff):
if not f:
filter =
if filter is not None: # A registered filter
_f =
if _f is not None: # A registered filter
yield utils.apply_filters(task, {os.path.splitext(dest)[-1]: flist})

0 comments on commit 807ed73

Please sign in to comment.