mirror of
https://github.com/craigerl/aprsd.git
synced 2025-03-08 04:18:59 -05:00
Merge pull request #18 from craigerl/plugin_fix
Don't use the dirname for the plugin path search
This commit is contained in:
commit
ba61178b14
@ -98,7 +98,7 @@ class PluginManager(object):
|
|||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
def load_plugins(self, module_path):
|
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"
|
pattern = "*.py"
|
||||||
|
|
||||||
self.obj_list = []
|
self.obj_list = []
|
||||||
|
Loading…
Reference in New Issue
Block a user