Skip to content

Commit 736b697

Browse files
authored
Correct placing of arguments for IOError message
1 parent 8879d7f commit 736b697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfkit/pdfkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def to_pdf(self, path=None):
180180
except (IOError, OSError) as e:
181181
raise IOError('Command failed: %s\n'
182182
'Check whhtmltopdf output without \'quiet\' option\n'
183-
'%s ' %(' '.join(args)),e)
183+
'%s ' % (' '.join(args), e))
184184

185185
def _normalize_options(self, options):
186186
""" Generator of 2-tuples (option-key, option-value).

0 commit comments

Comments
 (0)