From e896cd2230b3f5a022f9bca436da229cfc34ea1f Mon Sep 17 00:00:00 2001 From: Ryan Teoh Date: Fri, 22 Nov 2024 11:14:16 -0800 Subject: [PATCH] fixes --- src/latch/ldata/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(