Browse Source

Even better error message

pull/58/head
Louis 11 years ago
parent
commit
2533495711
  1. 8
      patacrep/content/tex.py

8
patacrep/content/tex.py

@ -52,8 +52,12 @@ def parse(keyword, argument, contentlist, config):
break
if not checked_file:
LOGGER.warning(
("Cannot find file '{}' in '{}'. Compilation may fail "
"later.").format(filename, [str(i) for i in basefolders])
('Cannot find file "{}" in {}. Compilation may fail '
'later.').format(
filename,
", ".join(
['"{}"'.format(folder) for folder in basefolders]
))
)
continue
filelist.append(LaTeX(checked_file))

Loading…
Cancel
Save