|
@@ -53,6 +53,7 @@ class Configure(object):
|
|
|
}
|
|
|
# Configure the Controllers first
|
|
|
for name,properties in config.get("controllers",{}).items():
|
|
|
+ log.debug("configuring {}".format(name))
|
|
|
target = properties.pop("target")
|
|
|
if not callable(target):
|
|
|
target = self.str_to_callable(target)
|
|
@@ -64,6 +65,7 @@ class Configure(object):
|
|
|
|
|
|
# Next configure the commands
|
|
|
for name,properties in config.get("commands",{}).items():
|
|
|
+ log.debug("configuring {}".format(name))
|
|
|
function = properties.pop("function")
|
|
|
ctrl = properties.pop("controller")
|
|
|
if not callable(ctrl):
|