Fix formatting issue with setting the Title ID in the ticket module

This commit is contained in:
2024-07-28 03:33:28 -04:00
parent 2d67f982dc
commit 18b54af091

View File

@@ -315,7 +315,7 @@ class Ticket:
"""
if len(title_id) != 16:
raise ValueError("Invalid Title ID! Title IDs must be 8 bytes long.")
self.title_id = binascii.unhexlify(title_id)
self.title_id = title_id.encode()
def set_title_version(self, new_version: str | int) -> None:
"""