app.daemonize()? In a hook, or in your controller or somewhere else?
app.config.parse_file()somewhere else yeah? You need to call
app.config.get('section', 'value')and the value doesn't exist, I get a
configparser.NoOptionError, yet I cannot handle this exception since I'm not sure which module it's declared in. I tried searching for it in the cement source code but I couldn't find the module which declares the error. I would like to know how to catch this error or if I should just set all the default
app.configvalues before I parse a config file.
yourapp.whatever.controllers.LiteController… and then int he plugin’s
load()function you would
app.handler.register(AdvancedController, force=True)which forces it to register overtop of the
LiteController(of the same label)
self.app.config.get('section', 'option')in the
_setupfunction of the plugin but is there a way retrieve that information without invoking
self.app.config.get(understandable) you could create a shortcut like using
self.config = self.app.config.get_section_dict(‘my_plugin’)… then just use
self.config[‘my_key’]through out your plugin