Commit b7f89837 by Stoned Elipot

Remove redundant call to _get_path() in PluginLoader.find_plugin()

parent d61a65ff
...@@ -141,7 +141,6 @@ class PluginLoader(object): ...@@ -141,7 +141,6 @@ class PluginLoader(object):
suffix = ".py" suffix = ".py"
if not self.class_name: if not self.class_name:
suffix = "" suffix = ""
paths = self._get_paths()
for i in self._get_paths(): for i in self._get_paths():
path = os.path.join(i, "%s%s" % (name, suffix)) path = os.path.join(i, "%s%s" % (name, suffix))
......
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