diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 690a190a4..43a4343e7 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -550,7 +550,7 @@ def copy_thumbnail(report, handle, photo, region=None): photo.get_mime_type(), region) mtime = os.stat(full_path).st_mtime - os.utime(from_path, (mtime, mtime)) + os.utime(to_path, (mtime, mtime)) if not os.path.isfile(from_path): from_path = CSS["Document"]["filename"] else: