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: