fix: [console] Fixed parameter name when calling wav.reveal().

This commit is contained in:
Cédric Bonhomme 2025-06-22 10:36:16 +02:00
parent 5b75db7dab
commit 6fd80429a4
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D

View file

@ -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.")