summaryrefslogtreecommitdiff
path: root/fbin.py
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2012-09-24 20:47:06 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2012-09-24 20:47:06 +0200
commit7aa6f36e6df3fed026e7a802c79bd945bce9a8c4 (patch)
tree43aaee7790ebb2d4a6d12d55362821448d754f7d /fbin.py
parent9c915bab172a4d5a2d9aed056c9261cd7b0cbd60 (diff)
Show a placeholder image when no thumbnail could be fetched or generated.
Diffstat (limited to 'fbin.py')
-rwxr-xr-xfbin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fbin.py b/fbin.py
index 726a87c..2bda843 100755
--- a/fbin.py
+++ b/fbin.py
@@ -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 []