freebsd-ports/deskutils/calibre/files/patch-src_calibre_library_server_content.py
Guido Falsi deb1608304 - Update to 2.57.1
- Add patch to fix build on 9.3 i386
- While here regenerate some other patches
2016-05-21 16:10:19 +00:00

10 lines
506 B
Python

--- src/calibre/library/server/content.py.orig 2016-05-20 11:45:27 UTC
+++ src/calibre/library/server/content.py
@@ -110,6 +110,7 @@ class ContentServer(object):
'png' : 'image/png',
'gif' : 'image/gif',
'html' : 'text/html',
+ 'ico' : 'image/x-icon',
}[fname.rpartition('.')[-1].lower()]
except KeyError:
raise cherrypy.HTTPError(404, '%r not a valid resource type'%name)