Skip to content

Commit cd9c293

Browse files
committed
Revert "Tweak stegdetect construction to list of lists"
This reverts commit 59e5cda.
1 parent 59e5cda commit cd9c293

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stego_lsb/StegDetect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def show_lsb(image_path: str, n: int) -> None:
3333

3434
image_data = cast(Iterable[Tuple[int, int, int]], image.getdata())
3535
color_data = [
36-
[255 * ((rgb[0] & mask) + (rgb[1] & mask) + (rgb[2] & mask)) // (3 * mask)] * 3
36+
(255 * ((rgb[0] & mask) + (rgb[1] & mask) + (rgb[2] & mask)) // (3 * mask),) * 3
3737
for rgb in image_data
3838
]
3939

0 commit comments

Comments
 (0)