diff options
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r-- | module/PluginManager.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py index 6815fed52..44a426d31 100644 --- a/module/PluginManager.py +++ b/module/PluginManager.py @@ -131,6 +131,9 @@ class PluginManager(): if config: config = [ [y.strip() for y in x.replace("'","").replace('"',"").replace(")","").split(",")] for x in config[0].split("(") if x.strip()] + if folder == "hooks": + config.append( ["load", "bool", "Load on startup", True] ) + for item in config: self.core.config.addPluginConfig([name]+item) |