summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pyggle2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pyggle b/bin/pyggle
index 7b1dfb7..51993b0 100755
--- a/bin/pyggle
+++ b/bin/pyggle
@@ -163,7 +163,7 @@ class Thumbnail:
self.exif_tag["Image DateTime"].values, "%Y:%m:%d %H:%M:%S"
)
except (KeyError, ValueError):
- pass
+ dt = datetime.fromtimestamp(os.path.getmtime(self.filename))
if dt:
self.exif_dt = dt