about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index c3d7de86..9b64f63a 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -1124,7 +1124,7 @@ class Actions(  # pylint: disable=too-many-instance-attributes,too-many-public-m
         cacheimg = os.path.join(ranger.args.cachedir, self.sha1_encode(path))
         if self.settings.preview_images and \
                 os.path.isfile(cacheimg) and \
-                os.path.getmtime(cacheimg) > os.path.getmtime(path):
+                os.path.getmtime(cacheimg) >= os.path.getmtime(path):
             data['foundpreview'] = True
             data['imagepreview'] = True
             pager.set_image(cacheimg)