mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
Flake8 fixes
This commit is contained in:
parent
a5917b3fa3
commit
aa1368f551
|
@ -308,6 +308,7 @@ def _save(im, fp, filename):
|
|||
except:
|
||||
pass
|
||||
|
||||
|
||||
def get_interlace(im):
|
||||
try:
|
||||
interlace = im.encoderinfo["interlace"]
|
||||
|
@ -320,6 +321,7 @@ def get_interlace(im):
|
|||
|
||||
return interlace
|
||||
|
||||
|
||||
def get_local_header(fp, im, offset=(0, 0)):
|
||||
transparent_color_exists = False
|
||||
try:
|
||||
|
@ -381,6 +383,7 @@ def get_local_header(fp, im, offset=(0, 0)):
|
|||
o8(flags) + # flags
|
||||
o8(8)) # bits
|
||||
|
||||
|
||||
def _save_netpbm(im, fp, filename):
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user