mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2025-04-27 22:01:01 -04:00
Fix formatting issue with setting the Title ID in the ticket module
This commit is contained in:
parent
2d67f982dc
commit
18b54af091
@ -315,7 +315,7 @@ class Ticket:
|
|||||||
"""
|
"""
|
||||||
if len(title_id) != 16:
|
if len(title_id) != 16:
|
||||||
raise ValueError("Invalid Title ID! Title IDs must be 8 bytes long.")
|
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:
|
def set_title_version(self, new_version: str | int) -> None:
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user