Commit 4430d0f5 by Stoned Elipot

when searching for a plugin only look for a regular file

parent 807e6022
......@@ -151,7 +151,7 @@ class PluginLoader(object):
for i in self._get_paths():
path = os.path.join(i, "%s%s" % (name, suffix))
if os.path.exists(path):
if os.path.isfile(path):
self._plugin_path_cache[name] = path
return path
......
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