Skip to content

Commit

Permalink
(archives.nexon) caught typo in Pakfile.as_bytes()
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Aug 30, 2024
1 parent a74f7d3 commit 794ad64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bsp_tool/archives/nexon.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ def as_bytes(self):
# TODO: preserve local_files order (if unedited)
for local_file in self.local_files.values():
out.append(PakMagic.LocalFile.value)
out.append(local_file.as_bytes)
out.append(local_file.as_bytes())
# TODO: generate new CentralDirectories
for central_directory in self.central_directories.values():
out.append(PakMagic.CentralDirectory.value)
out.append(central_directory.as_bytes)
out.append(central_directory.as_bytes())
# TODO: generate new EOCD
out.append(PakMagic.EOCD.value)
out.append(self.eocd.as_bytes())
Expand Down

0 comments on commit 794ad64

Please sign in to comment.