Skip to content

Commit

Permalink
Merge pull request #5 from leplatrem/master
Browse files Browse the repository at this point in the history
Add explicit definition of TTF mimetype
  • Loading branch information
pocmo committed May 2, 2016
2 parents 1c5ef70 + 2a2e2ee commit b6abf51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions create_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
'mobile/android/fonts/ClearSans-Thin.ttf',
]

# On some system, the .ttf extension has no associated mimetype.
mimetypes.add_type("application/x-font-ttf", ".ttf")

try:
import requests
except ImportError:
Expand Down

0 comments on commit b6abf51

Please sign in to comment.