Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
Fixed erros message.
  • Loading branch information
xgvargas committed Feb 11, 2014
1 parent 699c60b commit 4419473
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 4419473

Please sign in to comment.