We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db33c5e commit fa7092bCopy full SHA for fa7092b
templateflow/client.py
@@ -472,7 +472,7 @@ def _truncate_s3_errors(filepaths):
472
List of file paths to check and truncate if necessary.
473
"""
474
for filepath in filepaths:
475
- 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:
476
with open(filepath, 'rb') as f:
477
content = f.read(100)
478
if content.startswith(b'<?xml') and b'<Error><Code>' in content:
0 commit comments