Minor Changes

This commit is contained in:
BJ Dierkes 2015-05-31 14:13:19 -05:00
parent 6160777ee7
commit 76d7860174
2 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,4 @@
[myapp]
foo = bar2
[example]
enable_plugin = true

View File

@ -4,7 +4,8 @@ from cement.core.controller import CementBaseController, expose
def append_config_path(app):
if app.pargs.config_path:
app._meta.config_files.append(app.pargs.config_path)
app.config.parse_file(app.pargs.config_path)
#app.config.parse_file(app.pargs.config_path)
app._setup_config_handler()
class Base(CementBaseController):
class Meta: