Skip to content

Commit

Permalink
"Reformatted per new black version"
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Mar 29, 2022
1 parent 7016d92 commit ae94b2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adafruit_imageload/bmp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def load(file, *, bitmap=None, palette=None):
raise NotImplementedError("bitmask compression unsupported")

if colors == 0:
colors = 2 ** color_depth
colors = 2**color_depth
from . import indexed

return indexed.load(
Expand Down
2 changes: 1 addition & 1 deletion adafruit_imageload/bmp/indexed.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def load(

if bitmap:
minimum_color_depth = 1
while colors > 2 ** minimum_color_depth:
while colors > 2**minimum_color_depth:
minimum_color_depth *= 2

if sys.maxsize > 1073741823:
Expand Down

0 comments on commit ae94b2a

Please sign in to comment.