mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 03:06:14 +02:00
fix: [flake8] Addressed flake8 warnings.
This commit is contained in:
parent
0f8b0cef1f
commit
fb4b596726
8 changed files with 17 additions and 13 deletions
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from .exifHeader import *
|
||||
from .exifHeader import hide, reveal
|
||||
|
||||
__all__ = ["hide", "reveal"]
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from .lsb import *
|
||||
from .lsb import hide, reveal
|
||||
|
||||
__all__ = ["hide", "reveal"]
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from .red import *
|
||||
from .red import hide, reveal
|
||||
|
||||
__all__ = ["hide", "reveal"]
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from .parity import *
|
||||
from .statistics import *
|
||||
|
|
|
@ -209,7 +209,9 @@ class Revealer:
|
|||
raise IndexError("Impossible to detect message.")
|
||||
|
||||
if len(self._bitab) - len(str(self._limit)) - 1 == self._limit:
|
||||
self.secret_message = "".join(self._bitab)[len(str(self._limit)) + 1 :]
|
||||
self.secret_message = "".join(self._bitab)[
|
||||
len(str(self._limit)) + 1 : # noqa: E203
|
||||
]
|
||||
self.encoded_image.close()
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue