diff --git a/src/latch/ldata/path.py b/src/latch/ldata/path.py index 137a8cdf..f5b78013 100644 --- a/src/latch/ldata/path.py +++ b/src/latch/ldata/path.py @@ -326,7 +326,7 @@ def download( self._clear_cache() version_id = self.version_id() - if not not_windows and cache and dst.exists() and version_id == xattr.getxattr(dst_str, 'user.version_id'): + if not_windows and cache and dst.exists() and version_id == xattr.getxattr(dst_str, 'user.version_id'): return dst _download(