Browse Source

Even better error message

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

10
patacrep/content/tex.py

@ -52,9 +52,13 @@ 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