|
@ -93,7 +93,7 @@ class Plugins(DaemonThread): |
|
|
|
|
|
|
|
|
def load_plugin(self, name): |
|
|
def load_plugin(self, name): |
|
|
if name in self.plugins: |
|
|
if name in self.plugins: |
|
|
return |
|
|
return self.plugins[name] |
|
|
full_name = 'electrum_plugins.' + name + '.' + self.gui_name |
|
|
full_name = 'electrum_plugins.' + name + '.' + self.gui_name |
|
|
loader = pkgutil.find_loader(full_name) |
|
|
loader = pkgutil.find_loader(full_name) |
|
|
if not loader: |
|
|
if not loader: |
|
|