Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Kozea/WeasyPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Oct 7, 2016
2 parents f77f883 + ca7e627 commit efa0b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weasyprint/navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def make_response(body, status='200 OK', headers=(),
return make_response(
body, content_type='application/pdf',
headers=[('Content-Disposition',
'attachement; filename=%s.pdf' % filename)])
'attachment; filename=%s.pdf' % filename)])

elif path.startswith('/view/'):
url = normalize_url(path[6:], environ.get('QUERY_STRING'))
Expand Down

0 comments on commit efa0b0a

Please sign in to comment.