From 29ce82274c068dd1de36755c15e5e94af164c59b Mon Sep 17 00:00:00 2001 From: ExhoAR22 Date: Fri, 20 Feb 2026 01:56:00 +0200 Subject: [PATCH] Fix bad function call: HeaderFile.get_decrypted -> HeaderFile.get_decrypted_body --- psptool/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/psptool/__main__.py b/psptool/__main__.py index 03e61a6..bd970aa 100755 --- a/psptool/__main__.py +++ b/psptool/__main__.py @@ -193,7 +193,7 @@ def main(): if args.decompress and type(file) is HeaderFile: out_bytes = file.get_signed_bytes() elif args.decrypt and type(file) is HeaderFile: - out_bytes = file.get_decrypted() + out_bytes = file.get_decrypted_body() elif args.pem_key and type(file) is PubkeyFile: out_bytes = file.get_pem_encoded() else: @@ -216,7 +216,7 @@ def main(): if args.decompress and type(file) is HeaderFile: out_bytes = file.get_signed_bytes() elif args.decrypt and type(file) is HeaderFile: - out_bytes = file.get_decrypted() + out_bytes = file.get_decrypted_body() elif args.pem_key and type(file) is PubkeyFile: out_bytes = file.get_pem_encoded() else: