From 7463e9f10b7b5b8eac0471f4d7597fcf992deeb8 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Fri, 15 Jul 2022 17:25:22 +0200 Subject: [PATCH] fixed an issue where 2 lines of wiimm's tools where getting into the file content data --- source/wt/wstrt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/wt/wstrt.py b/source/wt/wstrt.py index 5c083df..a4ce5ec 100644 --- a/source/wt/wstrt.py +++ b/source/wt/wstrt.py @@ -30,7 +30,7 @@ def patch_data(dol_data: bytes, region: int = None, https: str = None, domain: s if process.returncode != 0: raise WTError(tools_path, process.returncode) - return stdout + return stdout.split(b"\n", 2)[-1] # remove the 2 first line, because they are from wstrt information class StrPath: