From 4db9a7ff63cc114374841e086876b4d6eca8a9b3 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sat, 28 Nov 2015 12:26:00 +0100 Subject: [PATCH] 5905 : thumbnails html file missing in the narrative web. --- gramps/plugins/webreport/narrativeweb.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index b350532d5..b53927d66 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -4805,8 +4805,6 @@ class ThumbnailPreviewPage(BasePage): self.photo_keys = sorted(self.report.obj_dict[MediaObject], key=lambda x: SORT_KEY(self.dbase_.get_object_from_handle(x).desc)) - if not self.photo_keys: - return media_list = [] for person_handle in self.photo_keys: @@ -4818,8 +4816,6 @@ class ThumbnailPreviewPage(BasePage): if self.create_thumbs_only: copy_thumbnail(self.report, person_handle, photo) - if not media_list: - return media_list.sort(key=lambda x: SORT_KEY(x[0])) # Create thumbnail preview page...