fixed an issue where 2 lines of wiimm's tools where getting into the file content data

This commit is contained in:
Faraphel 2022-07-15 17:25:22 +02:00
parent 9624b5d802
commit 7463e9f10b

View file

@ -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: