powershell modules will have a .ps1 extension

This commit is contained in:
Matt Martz 2014-06-17 18:29:49 -05:00
parent a25c441300
commit e7e95721b9

View file

@ -146,7 +146,7 @@ class PluginLoader(object):
if self.class_name:
suffixes = ['.py']
else:
suffixes = ['']
suffixes = ['', '.ps1']
for suffix in suffixes:
full_name = '%s%s' % (name, suffix)