Pass config to plugin, but only if it has a section for the plugin
This commit is contained in:
parent
23c586e616
commit
d6e1da7073
3 changed files with 11 additions and 5 deletions
|
@ -22,8 +22,9 @@ class BaseProject(object):
|
|||
be found for the current path.
|
||||
"""
|
||||
|
||||
def __init__(self, path):
|
||||
def __init__(self, path, config):
|
||||
self.path = path
|
||||
self.config = config
|
||||
|
||||
def type(self):
|
||||
""" Returns None if this is the base class.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue