Skip to content

Commit 63dbbad

Browse files
committed
blind copy paste
1 parent f2831f9 commit 63dbbad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autodecrypt/decrypt_img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def decrypt_img(infile: str, magic: str, iv: str, key: str) -> int:
2323
print(f"[i] decrypting {infile} to {outfile}...")
2424

2525
im4p.payload.decrypt(Keybag(key=key, iv=iv))
26-
if im4p.payload.compression not in (Compression.NONE, Compression.UNKNOWN):
26+
if im4p.payload.compression != Compression.NONE:
2727
print('[i] image4 payload data is compressed, decompressing...')
2828
im4p.payload.decompress()
2929

0 commit comments

Comments
 (0)