From 07fa54e7d056e3f5ff102a0861f17f357295ae06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Wed, 22 Feb 2017 07:18:46 +0100 Subject: [PATCH] Clean comments. --- stegano/lsb/lsb.py | 1 - stegano/lsbset/lsbset.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/stegano/lsb/lsb.py b/stegano/lsb/lsb.py index 38ceccb..b9a07b4 100755 --- a/stegano/lsb/lsb.py +++ b/stegano/lsb/lsb.py @@ -130,7 +130,6 @@ def write(image, output_image_file): try: image.save(output_image_file) except Exception as e: - # If hide() returns an error (Too long message). print(e) finally: image.close() diff --git a/stegano/lsbset/lsbset.py b/stegano/lsbset/lsbset.py index e9c55b8..eac6ad9 100644 --- a/stegano/lsbset/lsbset.py +++ b/stegano/lsbset/lsbset.py @@ -122,10 +122,7 @@ def reveal(input_image_file, generator): return "" def write(image, output_image_file): - """ - """ try: image.save(output_image_file) except Exception as e: - # If hide() returns an error (Too long message). print(e)