Merge pull request #3092 from SomberNight/fix_restore_2fa_as_standard

Return loaded plugin from plugins.load_plugin()
This commit is contained in:
ThomasV 2017-10-22 23:52:50 +02:00 committed by GitHub
commit af8b7a7fb1
1 changed files with 1 additions and 1 deletions

View File

@ -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: