From 73de74b6df6831757ff8713d233ec4dc6b0b6fa8 Mon Sep 17 00:00:00 2001 From: Joran Honig Date: Wed, 22 Apr 2020 13:52:08 +0200 Subject: [PATCH] call items() --- mythril/laser/plugin/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythril/laser/plugin/loader.py b/mythril/laser/plugin/loader.py index 245f48c9..a9522c1d 100644 --- a/mythril/laser/plugin/loader.py +++ b/mythril/laser/plugin/loader.py @@ -53,7 +53,7 @@ class LaserPluginLoader(object, metaclass=Singleton): :param symbolic_vm: The virtual machine to instrument the plugins with :param with_plugins: Override the globally enabled/disabled builders and load all plugins in the list """ - for plugin_name, plugin_builder in self.laser_plugin_builders: + for plugin_name, plugin_builder in self.laser_plugin_builders.items(): enabled = ( plugin_builder.enabled if not with_plugins