summaryrefslogtreecommitdiff
path: root/src/plugin_manager.py
diff options
context:
space:
mode:
authorTodd Eisenberger <todd@teisen.be>2011-09-27 10:14:18 -0700
committerTodd Eisenberger <todd@teisen.be>2011-09-27 10:14:18 -0700
commit7b8a860de95f2af6855b1ba270e677a0eb4c044c (patch)
treef55f6427c5176524d976abf17e94a6fb5e16cbc3 /src/plugin_manager.py
parent01f37195a86286010c966d045ec1609a9f5eb461 (diff)
downloadpoezio-7b8a860de95f2af6855b1ba270e677a0eb4c044c.tar.gz
poezio-7b8a860de95f2af6855b1ba270e677a0eb4c044c.tar.bz2
poezio-7b8a860de95f2af6855b1ba270e677a0eb4c044c.tar.xz
poezio-7b8a860de95f2af6855b1ba270e677a0eb4c044c.zip
Fix loading already loaded plugins
Diffstat (limited to 'src/plugin_manager.py')
-rw-r--r--src/plugin_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin_manager.py b/src/plugin_manager.py
index 1f0e89eb..df96e9ab 100644
--- a/src/plugin_manager.py
+++ b/src/plugin_manager.py
@@ -37,7 +37,7 @@ class PluginManager(object):
def load(self, name):
if name in self.plugins:
- self.plugins[name].unload()
+ self.unload(name)
try:
if name in self.modules: