From 714937ff5f7dbc12b7db70e201a688148a26c311 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Fri, 4 Dec 2015 11:40:55 +0100 Subject: [PATCH] 8950 : narrativeweb : change mtime at the bad place and made twice. --- gramps/plugins/webreport/narrativeweb.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 572eeb5c8..c45afab6c 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -549,13 +549,11 @@ def copy_thumbnail(report, handle, photo, region=None): from_path = get_thumbnail_path(full_path, photo.get_mime_type(), region) - mtime = os.stat(full_path).st_mtime if not os.path.isfile(from_path): from_path = CSS["Document"]["filename"] else: from_path = CSS["Document"]["filename"] report.copy_file(from_path, to_path) - os.utime(to_path, (mtime, mtime)) return to_path '''