From 9ac8ef272bc6517d0ff49c2721ee770e025a00d7 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Thu, 11 Aug 2011 20:01:28 +0000 Subject: [PATCH] Use correct thumbnail for unthumbnailable images, see bug 5017 svn: r18029 --- src/ThumbNails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ThumbNails.py b/src/ThumbNails.py index 833e3c8f2..9687d73f8 100644 --- a/src/ThumbNails.py +++ b/src/ThumbNails.py @@ -342,5 +342,5 @@ def get_thumbnail_path(src_file, mtype=None, rectangle=None, size=SIZE_NORMAL): if (not os.path.isfile(filename)) or ( os.path.getmtime(src_file) > os.path.getmtime(filename)): if not __create_thumbnail_image(src_file, mtype, rectangle, size): - return os.path.join(const.IMAGE_DIR, "image-missing.png") + return os.path.join(const.IMAGE_DIR, "document.png") return os.path.abspath(filename)