From 8069872776b23936890a5b56d0541393dca470e4 Mon Sep 17 00:00:00 2001 From: valentino-sm <5059499+valentino-sm@users.noreply.github.com> Date: Thu, 4 Jan 2024 20:03:57 +0500 Subject: [PATCH] Fix bug dispatching by dublicate plugins --- dotbot/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotbot/dispatcher.py b/dotbot/dispatcher.py index f89683d..d6e1a00 100644 --- a/dotbot/dispatcher.py +++ b/dotbot/dispatcher.py @@ -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