mirror of
https://github.com/MCMi460/3DS-RPC.git
synced 2025-06-18 21:45:37 -04:00
Update love3.py
This commit is contained in:
parent
09202efbc7
commit
f05af727a1
@ -31,7 +31,11 @@ def getTitleData(titleID:hex):
|
||||
return decipher.decrypt(data[2:])
|
||||
|
||||
def getTitleInfo(titleID:hex):
|
||||
int(titleID, 16) # Errors if not HEX
|
||||
titleID = str(titleID)
|
||||
try:
|
||||
int(titleID, 16) # Errors if not HEX
|
||||
except:
|
||||
return None
|
||||
if isinstance(titleID, str):
|
||||
titleID = hex(int(titleID)).replace('0x', '')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user