Skip to content

Commit

Permalink
pdf uh
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Perfilov committed Nov 25, 2014
1 parent da2ec4e commit 922ea73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/datajson/build_datajson.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def make_datajson_entry(package):
r["format"] = "text/csv"
if r["format"].lower() == "json":
r["format"] = "application/json"
if r["format"].lower() == "pdf":
r["format"] = "application/pdf"

try:
retlist = [
Expand Down

0 comments on commit 922ea73

Please sign in to comment.