Skip to content

Commit

Permalink
Use simple string concatenation not triple quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpacer committed Oct 10, 2016
1 parent c1498a8 commit 18c39c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nbconvert/exporters/pdf.py
Expand Up @@ -94,9 +94,9 @@ def run_command(self, command_list, filename, count, log_function):
cmd = which(command_list[0])
if cmd is None:
link = "https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex"
raise OSError("""{formatter} not found on PATH, if you have not installed
{formatter} you may need to do so. Find further instructions
at {link}.""".format(formatter=command_list[0], link=link))
raise OSError("{formatter} not found on PATH, if you have not installed "
"{formatter} you may need to do so. Find further instructions "
"at {link}.".format(formatter=command_list[0], link=link))

times = 'time' if count == 1 else 'times'
self.log.info("Running %s %i %s: %s", command_list[0], count, times, command)
Expand Down

0 comments on commit 18c39c6

Please sign in to comment.