Merge pull request #40 from xarses/fix-cli-path-bug
Fix extra 's' in template-dir so that the value can be found
This commit is contained in:
commit
0bbb208c23
@ -82,7 +82,7 @@ class Cmd(object):
|
|||||||
if args.create:
|
if args.create:
|
||||||
params = {'tags': args.tags, 'id': args.id}
|
params = {'tags': args.tags, 'id': args.id}
|
||||||
profile_template_path = os.path.join(
|
profile_template_path = os.path.join(
|
||||||
utils.read_config()['templates-dir'], 'profile.yml'
|
utils.read_config()['template-dir'], 'profile.yml'
|
||||||
)
|
)
|
||||||
data = yaml.load(utils.render_template(profile_template_path, params))
|
data = yaml.load(utils.render_template(profile_template_path, params))
|
||||||
self.db.store('profiles', data)
|
self.db.store('profiles', data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user