From b28d42ca6f1efe55beb62c0ff3a439d9537bfcc0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 18 Dec 2024 09:56:29 +0000 Subject: [PATCH] style: Automatic code formatting --- lib/cuckoo/common/integrations/file_extra_info.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/cuckoo/common/integrations/file_extra_info.py b/lib/cuckoo/common/integrations/file_extra_info.py index d0d167c83b8..4e68e8a7607 100644 --- a/lib/cuckoo/common/integrations/file_extra_info.py +++ b/lib/cuckoo/common/integrations/file_extra_info.py @@ -506,7 +506,7 @@ def generic_file_extractors( data_dictionary["selfextract"][new_tool_name] = { "extracted_files": metadata, "extracted_files_time": func_result["took_seconds"], - "password": extraction_result.get("password", "") + "password": extraction_result.get("password", ""), } finally: if tempdir: @@ -713,7 +713,10 @@ def Inno_extract(file: str, *, data_dictionary: dict, **_) -> ExtractorReturnTyp universal_newlines=True, stderr=subprocess.PIPE, ) - if "Warning: Setup contains encrypted files, use the --password option to extract them" in output or "- encrypted" in output: + if ( + "Warning: Setup contains encrypted files, use the --password option to extract them" in output + or "- encrypted" in output + ): output = run_tool( [innoextact_binary, "--crack", file], universal_newlines=True,