Update ToolsTOR.py

This commit is contained in:
Mc-muffin
2024-09-17 21:02:27 -05:00
parent cb8eaa1446
commit efee619bf4

View File

@@ -1033,7 +1033,7 @@ class ToolsTOR(ToolsTales):
file_index = int(pak_file.name.split(".bin")[0])
with open(pak_file, "rb") as pf:
pak_o.files[file_index].data = pf.read()
data = pak_o.to_bytes(1)
data = pak_o.to_bytes(0)
comp_type = re.search(self.VALID_FILE_NAME, pak_path.name).group(2)
else:
with open(file, "rb") as f2: