Commit 977b3124 by Ustun Ozgur

Update cache check in find_plugin

I am not familiar with the internals, but this line looked suspicious.
parent ef28d628
......@@ -142,7 +142,7 @@ class PluginLoader(object):
def find_plugin(self, name):
''' Find a plugin named name '''
if 'name' in self._plugin_path_cache:
if name in self._plugin_path_cache:
return self._plugin_path_cache[name]
suffix = ".py"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment