Add sjson and srt to type map.

This commit is contained in:
Oleg Marshev
2014-05-05 23:54:55 +03:00
parent e70ea9a115
commit b9cd6cd6ec

View File

@@ -35,6 +35,9 @@ def import_static_content(
policy = {}
verbose = True
mimetypes.add_type('application/octet-stream', '.sjson')
mimetypes.add_type('application/octet-stream', '.srt')
mimetypes_list = mimetypes.types_map.values()
for dirname, _, filenames in os.walk(static_dir):