diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2012-09-24 20:47:06 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2012-09-24 20:47:06 +0200 |
commit | 7aa6f36e6df3fed026e7a802c79bd945bce9a8c4 (patch) | |
tree | 43aaee7790ebb2d4a6d12d55362821448d754f7d /fbin.py | |
parent | 9c915bab172a4d5a2d9aed056c9261cd7b0cbd60 (diff) |
Show a placeholder image when no thumbnail could be fetched or generated.
Diffstat (limited to 'fbin.py')
-rwxr-xr-x | fbin.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -429,7 +429,7 @@ class Application(object): def static(self, environ, start_response, path): filename = path[1] - if not filename in ('style.css',): + if not filename in ('style.css', 'no-thumbnail.png'): start_response('404 Not Found', []) return [] |