Fix typos in source code (#2258)

This commit is contained in:
yan0f
2023-01-06 19:06:50 +03:00
committed by GitHub
parent 41c43f4805
commit 9740dd8c75
13 changed files with 15 additions and 15 deletions

View File

@@ -104,7 +104,7 @@ def file2image(file):
data_enc = bytearray(data_encoded_str)
data_enc = bytearray([len(data_enc) & 0xFF, len(data_enc) >> 8]) + data_enc
# Use encoded data only if its lenght less than original, including header
# Use encoded data only if its length less than original, including header
if len(data_enc) < len(data_bin) + 1:
data = b"\x01\x00" + data_enc
else: