diff options
Diffstat (limited to 'searx/plugins')
-rw-r--r-- | searx/plugins/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index 951ec9de3..41dd1a0ef 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -191,8 +191,7 @@ class PluginStore: self.plugins: List[Plugin] = [] def __iter__(self): - for plugin in self.plugins: - yield plugin + yield from self.plugins def register(self, plugin): self.plugins.append(plugin) |