Skip to content

Commit

Permalink
Fix typo in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
micrypt committed Aug 12, 2015
1 parent 53c998c commit 9cdcb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/usage.rst
Expand Up @@ -442,7 +442,7 @@ that converts relative URLs to absolute system paths.
html = template.render(Context(data))
# Write PDF to file
file = open(os.join(settings.MEDIA_ROOT, 'test.pdf'), "w+b")
file = open(os.path.join(settings.MEDIA_ROOT, 'test.pdf'), "w+b")
pisaStatus = pisa.CreatePDF(html, dest=file,
link_callback = link_callback)
Expand Down

0 comments on commit 9cdcb7b

Please sign in to comment.