Skip to content

Commit

Permalink
Ask for TOML (not YAML) if TOML is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Aug 22, 2016
1 parent 3efcc1c commit a5e05cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/utils.py
Expand Up @@ -1932,7 +1932,7 @@ def load_data(path):
loader = json
elif ext in {'.toml', '.tml'}:
if toml is None:
req_missing(['yaml'], 'use YAML data files')
req_missing(['toml'], 'use TOML data files')
return {}
loader = toml
with io.open(path, 'r', encoding='utf8') as inf:
Expand Down

0 comments on commit a5e05cc

Please sign in to comment.