Update cache check in find_plugin

I am not familiar with the internals, but this line looked suspicious.
pull/4292/head
Ustun Ozgur 11 years ago
parent ef28d62846
commit 977b31249a

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

Loading…
Cancel
Save