From 6fd80429a49775c4323a13d55accafc5c28e8e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Sun, 22 Jun 2025 10:36:16 +0200 Subject: [PATCH] fix: [console] Fixed parameter name when calling wav.reveal(). --- stegano/console/wav.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stegano/console/wav.py b/stegano/console/wav.py index 40cd29d..d32d322 100644 --- a/stegano/console/wav.py +++ b/stegano/console/wav.py @@ -32,6 +32,7 @@ import argparse from stegano import tools + def main(): parser = argparse.ArgumentParser(prog="stegano-lsb") subparsers = parser.add_subparsers( @@ -108,14 +109,13 @@ def main(): input_file=arguments.input_audio_file, message=secret, encoding=arguments.encoding, - output_file=arguments.output_audio_file + output_file=arguments.output_audio_file, ) elif arguments.command == "reveal": try: secret = wav.reveal( - encoded_wav=arguments.input_audio_file, - encoding=arguments.encoding + input_file=arguments.input_audio_file, encoding=arguments.encoding ) except IndexError: print("Impossible to detect message.")