Skip to content

Commit

Permalink
bad format for nsp
Browse files Browse the repository at this point in the history
  • Loading branch information
seiya-git committed Oct 21, 2023
1 parent 30cd995 commit 254e578
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py-test/lib/Verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,12 @@ def decrypt_verify(nspx):

bad_format = False
if len(titlerights) < 1 and isCard == False:
verdict = False
bad_format = True

file_ext = nspx._path[-3:].upper()
if verdict == True and bad_format == True:

if bad_format == True:
tvmsg = f'\nVERDICT: {file_ext} FILE IS IN WRONG FORMAT (XCI IN NSP)'
elif verdict == True:
tvmsg = f'\nVERDICT: {file_ext} FILE IS CORRECT'
Expand Down

0 comments on commit 254e578

Please sign in to comment.