diff --git a/autogpt_platform/backend/backend/blocks/claude_code.py b/autogpt_platform/backend/backend/blocks/claude_code.py index 7f26b29042..797ad545d2 100644 --- a/autogpt_platform/backend/backend/blocks/claude_code.py +++ b/autogpt_platform/backend/backend/blocks/claude_code.py @@ -666,10 +666,7 @@ class ClaudeCodeBlock(Block): stat_result = await sandbox.commands.run( f"stat -c %s {shlex.quote(file_path)} 2>/dev/null" ) - if ( - stat_result.exit_code != 0 - or not stat_result.stdout - ): + if stat_result.exit_code != 0 or not stat_result.stdout: logger.warning( f"Skipping binary file {file_path}: " f"could not determine file size"