From b0d21a60d3fe126beebc0b6673d456beccf9d430 Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Thu, 27 Jun 2019 17:53:43 +0200 Subject: [PATCH] format with black --- sources/stegano/stegano.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/stegano/stegano.py b/sources/stegano/stegano.py index baa4274..ed6b58e 100644 --- a/sources/stegano/stegano.py +++ b/sources/stegano/stegano.py @@ -28,6 +28,7 @@ def by_chunk(iterable, size, fillvalue=0): yield chunk chunk = [] + def set_bit(old_byte, new_bit): b = list(bin(old_byte)) b[-1] = str(new_bit)