changeset 574:7520756bc7f9

revert last commit: date issue of non-exif images
author sudo_dirk<d.alders@arcor.de>
date Mon, 06 Feb 2012 21:56:45 +0100
parents c760e6c61a0d
children 0db77eb786fb
files data/plugin/macro/Image.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/Image.py	Sun Feb 05 22:19:01 2012 +0100
+++ b/data/plugin/macro/Image.py	Mon Feb 06 21:56:45 2012 +0100
@@ -159,7 +159,7 @@
             try:
                 ctime = self.exif['DateTimeOriginal']
             except KeyError:
-                ctime = os.path.getmtime(self._filename)
+                ctime = os.path.getctime(self._filename)
             self.__ctime = ctime
         return self.__ctime
     ctime = property(_get_ctime)