Commit 467ad9e3 authored by 's avatar

Doh - forgot to add this to the branch.

parent 603a92e9
......@@ -84,7 +84,7 @@
##############################################################################
"""Image object that is stored in a file"""
__version__='$Revision: 1.10 $'[11:-2]
__version__='$Revision: 1.11 $'[11:-2]
from OFS.content_types import guess_content_type
from Globals import package_home
......@@ -137,8 +137,8 @@ class ImageFile(Acquisition.Explicit):
try: mod_since=long(DateTime(header).timeTime())
except: mod_since=None
if mod_since is not None:
if self._p_mtime:
last_mod = long(self._p_mtime)
if getattr(self, 'lmt', None):
last_mod = long(self.lmt)
else:
last_mod = long(0)
if last_mod > 0 and last_mod <= mod_since:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment