Skip to content

Commit

Permalink
Merge pull request xhtml2pdf#15 from xgvargas/patch-1
Browse files Browse the repository at this point in the history
Update utils.py
  • Loading branch information
chrisglass committed Feb 13, 2014
2 parents 699c60b + 4419473 commit ed09b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_xhtml2pdf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def fetch_resources(uri, rel):
else:
raise UnsupportedMediaPathException(
'media urls must start with %s or %s' % (
settings.MEDIA_ROOT, settings.STATIC_ROOT))
settings.MEDIA_URL, settings.STATIC_URL))
return path

def generate_pdf_template_object(template_object, file_object, context):
Expand Down

0 comments on commit ed09b74

Please sign in to comment.