Commit 9a86b7a6 authored by Recteur LP's avatar Recteur LP

set_default plugins path in tools

parent b02e2026
Pipeline #1120 passed with stages
in 15 minutes and 49 seconds
......@@ -93,7 +93,10 @@ class tools():
"root_url": config['pyrmin']['root_url'],
"port": config['pyrmin']['port'],
"config_path": self.config['pyrmin']['config_path'],
"plugins_path": config['pyrmin']['plugins_path'],
"plugins_path": config['pyrmin'].get(
'plugins_path',
'/usr/share/pyrmin/plugins'
),
"debug": self.config['pyrmin']['debug']
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment