docs: update

This commit is contained in:
Dylan Araps 2019-03-05 11:32:49 +02:00
parent 95c1cc18bc
commit 3292a5513d

View File

@ -16,8 +16,7 @@ def template(colors, input_file, output_file=None):
try: try:
template_data = "".join(template_data).format(**colors) template_data = "".join(template_data).format(**colors)
except ValueError: except ValueError:
logging.error("Syntax error in template file '%s'. ", input_file, logging.error("Syntax error in template file '%s'.", input_file)
"Are non-marker braces escaped? '{{}}'?")
return return
util.save_file(template_data, output_file) util.save_file(template_data, output_file)