Minor bugfix in the binary.

This commit is contained in:
cedricbonhomme 2011-12-29 09:38:11 +01:00
parent a0aec974c5
commit 7d8670e72c

View file

@ -72,7 +72,7 @@ if options.hide:
elif options.secret_message == "" and options.secret_file != "":
secret = tools.binary2base64(options.secret_file)
img_encoded = hide(options.input_image_file, secret, options.generator_function)
img_encoded = slsbset.hide(options.input_image_file, secret, options.generator_function)
try:
img_encoded.save(options.output_image_file)
except Exception, e:
@ -81,7 +81,7 @@ if options.hide:
elif options.reveal:
try:
secret = reveal(options.input_image_file, options.generator_function)
secret = slsbset.reveal(options.input_image_file, options.generator_function)
except IndexError:
print "Impossible to detect message."
exit(0)