tMerge pull request #3092 from SomberNight/fix_restore_2fa_as_standard - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit af8b7a7fb1ee86a7edf56c39700e20556e0dcf34 DIR parent fe82a7905c404d2d607b4d2bbbc44b2d36b4f89d HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 22 Oct 2017 23:52:50 +0200 Merge pull request #3092 from SomberNight/fix_restore_2fa_as_standard Return loaded plugin from plugins.load_plugin() Diffstat: M lib/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/plugins.py b/lib/plugins.py t@@ -93,7 +93,7 @@ class Plugins(DaemonThread): def load_plugin(self, name): if name in self.plugins: - return + return self.plugins[name] full_name = 'electrum_plugins.' + name + '.' + self.gui_name loader = pkgutil.find_loader(full_name) if not loader: