diff --git a/modules/hashes.py b/modules/hashes.py index d22e5fadc..83ece4012 100644 --- a/modules/hashes.py +++ b/modules/hashes.py @@ -32,7 +32,7 @@ def sha256_from_cache(filename, title, use_addnet_hash=False): cached_sha256 = hashes[title].get("sha256", None) cached_mtime = hashes[title].get("mtime", 0) - if ondisk_mtime > cached_mtime or cached_sha256 is None: + if ondisk_mtime != cached_mtime or cached_sha256 is None: return None return cached_sha256