Kaynağa Gözat

format with black

master
Dimitri Merejkowsky 5 yıl önce
ebeveyn
işleme
b0d21a60d3
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. +1
    -0
      sources/stegano/stegano.py

+ 1
- 0
sources/stegano/stegano.py Dosyayı Görüntüle

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