Don't exclude symlinks when loading plugins

This commit is contained in:
Nick Hatch
2013-09-16 17:35:22 +02:00
committed by Petr Viktorin
parent 397986d19a
commit 685bda4563
+1 -1
View File
@@ -81,7 +81,7 @@ def find_modules_in_dir(src_dir):
if not name.endswith(suffix):
continue
pyfile = os.path.join(src_dir, name)
if os.path.islink(pyfile) or not os.path.isfile(pyfile):
if not os.path.isfile(pyfile):
continue
module = name[:-len(suffix)]
if module == '__init__':