From 2fb7a5e0488286b6f49812d81e2e17274bfdb785 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 6 May 2010 04:46:28 +0000 Subject: [PATCH] 3896: Narrated web fail: display_additional_images_as_gallery, not in list svn: r15334 --- src/plugins/webreport/NarrativeWeb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index b6ff093d5..cc17edb2d 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1408,7 +1408,8 @@ class BasePage(object): if photoref.ref in photolist_handles: photo = photolist_handles[photoref.ref] photolist_ordered.append(photo) - photolist.remove(photo) + if photo in photolist: + photolist.remove(photo) # and add any that are left (should there be any?) photolist_ordered += photolist