Fixes Flake 8 issue CircuitPython_Painter
This commit is contained in:
parent
c9ad539ab9
commit
4f8a3b1776
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ try:
|
|||
databuf = bytearray(bmpWidth * bmpHeight * 4)
|
||||
|
||||
for row in range(bmpHeight): # For each scanline...
|
||||
if (flip): # Bitmap is stored bottom-to-top order (normal BMP)
|
||||
if flip: # Bitmap is stored bottom-to-top order (normal BMP)
|
||||
pos = bmpImageoffset + (bmpHeight - 1 - row) * rowSize
|
||||
else: # Bitmap is stored top-to-bottom
|
||||
pos = bmpImageoffset + row * rowSize
|
||||
|
|
|
|||
Loading…
Reference in a new issue