diff --git a/tasks/test_results_processor.py b/tasks/test_results_processor.py index a0cc1e33d..26f17b98b 100644 --- a/tasks/test_results_processor.py +++ b/tasks/test_results_processor.py @@ -493,9 +493,8 @@ def process_individual_arg( ), ) - readable_report = self.rewrite_readable(network, report_contents) - - archive_service.write_file(upload.storage_path, readable_report.getvalue()) + readable_report = self.rewrite_readable(network, report_contents) + archive_service.write_file(upload.storage_path, readable_report.getvalue()) return TestResultsProcessingResult( network_files=network, parsing_results=parsing_results