Merge pull request #18 from craigerl/plugin_fix

Don't use the dirname for the plugin path search
This commit is contained in:
Walter A. Boring IV 2020-12-15 09:36:38 -05:00 committed by GitHub
commit ba61178b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class PluginManager(object):
self.config = config
def load_plugins(self, module_path):
dir_path = os.path.dirname(os.path.realpath(module_path))
dir_path = os.path.realpath(module_path)
pattern = "*.py"
self.obj_list = []