Skip to content

Commit

Permalink
fixes to api
Browse files Browse the repository at this point in the history
  • Loading branch information
rteqs committed Feb 20, 2025
1 parent 98ef658 commit 1c6ae17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/latch/ldata/path.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import atexit
import os
import re
import shutil
import sys
Expand Down Expand Up @@ -348,9 +347,9 @@ def download(
not_windows
and cache
and dst.exists()
and xattr.list(dst_str) is not None
and "user.version_id" in xattr.list(dst_str)
and version_id == xattr.get(dst_str, "user.version_id").decode()
and xattr.listxattr(dst_str) is not None
and "user.version_id" in xattr.listxattr(dst_str)
and version_id == xattr.getxattr(dst_str, "user.version_id").decode()
):
return dst

Expand Down

0 comments on commit 1c6ae17

Please sign in to comment.