From ec0b383c35e028c19e059b162faa22353c416720 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Fri, 14 Nov 2025 12:26:40 -0300 Subject: [PATCH] fix(): Ajustado arquivo responsavel em salvar arquivos em disco --- actions/file/save_file_from_base64.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/actions/file/save_file_from_base64.py b/actions/file/save_file_from_base64.py index 634b95f..d1e193a 100644 --- a/actions/file/save_file_from_base64.py +++ b/actions/file/save_file_from_base64.py @@ -36,11 +36,7 @@ def save_file_from_base64( try: # Decodifica o Base64 - # file_bytes = base64.b64decode(base64_content) - clean_base64_content = base64.b64decode( - base64_content.strip().replace("\n", "").replace("\r", "") - ) - file_bytes = base64.b64decode(clean_base64_content) + file_bytes = base64.b64decode(base64_content) # Grava o arquivo em disco with open(file_path, "wb") as f: