From f94b71e681cdb613dc59cc32648c5237a944b3ed Mon Sep 17 00:00:00 2001 From: Nikhil Parasaram Date: Mon, 30 Mar 2020 13:36:46 +0100 Subject: [PATCH] Use the function rather than variable --- mythril/plugin/discovery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mythril/plugin/discovery.py b/mythril/plugin/discovery.py index d1bfd769..1055b52f 100644 --- a/mythril/plugin/discovery.py +++ b/mythril/plugin/discovery.py @@ -49,10 +49,10 @@ class PluginDiscovery(object, metaclass=Singleton): :return: List of plugin names """ if default_enabled is None: - return list(self._installed_plugins.keys()) + return list(self.installed_plugins.keys()) return [ plugin_name - for plugin_name, plugin_class in self._installed_plugins.items() + for plugin_name, plugin_class in self.installed_plugins.items() if plugin_class.plugin_default_enabled == default_enabled ]