Skip to content

Commit fa7092b

Browse files
committed
fix: do not use py313+ parameter
1 parent db33c5e commit fa7092b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templateflow/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def _truncate_s3_errors(filepaths):
472472
List of file paths to check and truncate if necessary.
473473
"""
474474
for filepath in filepaths:
475-
if filepath.is_file(follow_symlinks=False) and 0 < filepath.stat().st_size < 1024:
475+
if filepath.is_file() and 0 < filepath.stat().st_size < 1024:
476476
with open(filepath, 'rb') as f:
477477
content = f.read(100)
478478
if content.startswith(b'<?xml') and b'<Error><Code>' in content:

0 commit comments

Comments
 (0)