mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 01:39:24 +02:00
[fix] issues reported by pylint 3.1.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3bea2e7e3a
commit
50d5a9ff60
4 changed files with 7 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue