From 90bbbfb560f922849656684eab374094fa1605a5 Mon Sep 17 00:00:00 2001 From: mathiasg Date: Tue, 21 Oct 2025 11:19:04 -0400 Subject: [PATCH] fix: do not use py313+ parameter --- templateflow/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templateflow/client.py b/templateflow/client.py index e0fc33ee..9d489fe6 100644 --- a/templateflow/client.py +++ b/templateflow/client.py @@ -472,7 +472,7 @@ def _truncate_s3_errors(filepaths): List of file paths to check and truncate if necessary. """ for filepath in filepaths: - if filepath.is_file(follow_symlinks=False) and 0 < filepath.stat().st_size < 1024: + if filepath.is_file() and 0 < filepath.stat().st_size < 1024: with open(filepath, 'rb') as f: content = f.read(100) if content.startswith(b'' in content: