mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-27 19:06:12 +02:00
fix handling of platform specific line endings in exifHeader.hide
This commit is contained in:
parent
0fa3bdf420
commit
19c5dcad5c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def hide(
|
||||||
from zlib import compress
|
from zlib import compress
|
||||||
|
|
||||||
if secret_file is not None:
|
if secret_file is not None:
|
||||||
with open(secret_file) as f:
|
with open(secret_file, "rb") as f:
|
||||||
secret_message = f.read()
|
secret_message = f.read()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue