commit af8b7a7fb1ee86a7edf56c39700e20556e0dcf34
parent fe82a7905c404d2d607b4d2bbbc44b2d36b4f89d
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:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/plugins.py b/lib/plugins.py
@@ -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: