Browse Source

format with black

master
Dimitri Merejkowsky 5 years ago
parent
commit
b0d21a60d3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      sources/stegano/stegano.py

+ 1
- 0
sources/stegano/stegano.py View File

@@ -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)