From 254e578a186ee3723307924849f6dda5b72ed063 Mon Sep 17 00:00:00 2001 From: seiya-git Date: Sat, 21 Oct 2023 19:23:02 +0300 Subject: [PATCH] bad format for nsp --- py-test/lib/Verify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py-test/lib/Verify.py b/py-test/lib/Verify.py index d0a5bb2c..fccb9233 100644 --- a/py-test/lib/Verify.py +++ b/py-test/lib/Verify.py @@ -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'