mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2025-04-26 13:21:01 -04:00
Ironically the only error left was in a line to raise an error.
This commit is contained in:
parent
3c5f8b6763
commit
bfec2af0ac
@ -21,5 +21,5 @@ def get_common_key(common_key_index):
|
|||||||
case 2:
|
case 2:
|
||||||
common_key_bin = binascii.unhexlify(vwii_key)
|
common_key_bin = binascii.unhexlify(vwii_key)
|
||||||
case _:
|
case _:
|
||||||
raise ValueError("The common key index provided, " + str(common_key_index + ", does not exist."))
|
raise ValueError("The common key index provided, " + str(common_key_index) + ", does not exist.")
|
||||||
return common_key_bin
|
return common_key_bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user