8950 : narrativeweb : change mtime at the bad place and made twice.
This commit is contained in:
parent
ca2607de0e
commit
b9d3378020
@ -549,8 +549,6 @@ def copy_thumbnail(report, handle, photo, region=None):
|
|||||||
from_path = get_thumbnail_path(full_path,
|
from_path = get_thumbnail_path(full_path,
|
||||||
photo.get_mime_type(),
|
photo.get_mime_type(),
|
||||||
region)
|
region)
|
||||||
mtime = os.stat(full_path).st_mtime
|
|
||||||
os.utime(to_path, (mtime, mtime))
|
|
||||||
if not os.path.isfile(from_path):
|
if not os.path.isfile(from_path):
|
||||||
from_path = CSS["Document"]["filename"]
|
from_path = CSS["Document"]["filename"]
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user