Ironically the only error left was in a line to raise an error.

This commit is contained in:
Campbell 2024-02-29 23:06:27 -05:00
parent 3c5f8b6763
commit bfec2af0ac

View File

@ -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