Skip to content
Permalink
Browse files
Ask for TOML (not YAML) if TOML is missing
  • Loading branch information
Kwpolska committed Aug 22, 2016
1 parent 3efcc1c commit a5e05cc27acaf5d1ba82cad3c3ec71df1e4481fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/utils.py
@@ -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:

0 comments on commit a5e05cc

Please sign in to comment.