Commit 6b3ea81c authored by Roman Alifanov's avatar Roman Alifanov

module path to backend params

parent d4881a09
......@@ -25,7 +25,12 @@ class Setting:
self.root = setting_data.get('root', False)
self.backend = setting_data.get('backend')
self.params = setting_data.get('params', {})
self.params = {
**setting_data.get('params', {}),
'module_path': module.path
}
self.type = setting_data['type']
self.help = setting_data.get('help', None)
......
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