Fix extra 's' in template-:dir so that the value can be found

This commit is contained in:
Andrew Woodward 2015-04-16 13:42:52 -07:00
parent d984fa9556
commit 8d2e12b527

View File

@ -82,7 +82,7 @@ class Cmd(object):
if args.create:
params = {'tags': args.tags, 'id': args.id}
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))
self.db.store('profiles', data)