Browse Source

Even better error message

pull/58/head
Louis 11 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 break
if not checked_file: if not checked_file:
LOGGER.warning( LOGGER.warning(
("Cannot find file '{}' in '{}'. Compilation may fail " ('Cannot find file "{}" in {}. Compilation may fail '
"later.").format(filename, [str(i) for i in basefolders]) 'later.').format(
) filename,
", ".join(
['"{}"'.format(folder) for folder in basefolders]
))
)
continue continue
filelist.append(LaTeX(checked_file)) filelist.append(LaTeX(checked_file))

Loading…
Cancel
Save