1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-07-29 05:14:08 -04:00

Don't use the dirname for the plugin path search

This commit is contained in:
2020-12-15 09:30:10 -05:00
parent ec140995c2
commit 63079a817d
+1 -1
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 = []