1
0
Fork 0
mirror of synced 2024-11-22 08:15:34 -05:00

Fix bug dispatching by dublicate plugins

This commit is contained in:
valentino-sm 2024-01-04 20:03:57 +05:00
parent 3f9e409669
commit 8069872776
No known key found for this signature in database
GPG key ID: 67109941CB0F2DAB

View file

@ -19,7 +19,7 @@ class Dispatcher:
self._log = Messenger()
self._setup_context(base_directory, options)
plugins = plugins or []
self._plugins = [plugin(self._context) for plugin in plugins]
self._plugins = [plugin(self._context) for plugin in set(plugins)]
self._only = only
self._skip = skip
self._exit = exit_on_failure