From 63079a817d38a3812935d342b2843d6ff96a8853 Mon Sep 17 00:00:00 2001 From: Hemna Date: Tue, 15 Dec 2020 09:30:10 -0500 Subject: [PATCH] Don't use the dirname for the plugin path search --- aprsd/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/plugin.py b/aprsd/plugin.py index 170da73..c99e4cb 100644 --- a/aprsd/plugin.py +++ b/aprsd/plugin.py @@ -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 = []