mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 14:16:46 +00:00
Minor Changes
This commit is contained in:
parent
6160777ee7
commit
76d7860174
@ -1,2 +1,4 @@
|
||||
[myapp]
|
||||
foo = bar2
|
||||
[example]
|
||||
enable_plugin = true
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user