Skip to content

Commit

Permalink
Linted
Browse files Browse the repository at this point in the history
  • Loading branch information
evaherrada committed May 19, 2021
1 parent 58b28d3 commit b9f066e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/dotstar_image_paint.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
HEIGHT = IMG.size[1]
print("%dx%d pixels" % IMG.size)

if HEIGHT > NUMPIXELS:
HEIGHT = NUMPIXELS
HEIGHT = min(HEIGHT, NUMPIXELS)

# Calculate gamma correction table, makes mid-range colors look 'right':
GAMMA = bytearray(256)
Expand Down
3 changes: 1 addition & 2 deletions examples/dotstar_image_pov.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
HEIGHT = IMG.size[1]
print("%dx%d pixels" % IMG.size)

if HEIGHT > NUMPIXELS:
HEIGHT = NUMPIXELS
HEIGHT = min(HEIGHT, NUMPIXELS)

# Calculate gamma correction table, makes mid-range colors look 'right':
GAMMA = bytearray(256)
Expand Down

0 comments on commit b9f066e

Please sign in to comment.