Skip to content

Commit

Permalink
tiff: fix flake8 warning after black reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
olt committed Jun 12, 2019
1 parent 17b07ac commit c23da9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/TiffImagePlugin.py
Expand Up @@ -1582,8 +1582,8 @@ def _save(im, fp, filename):
types[tag] = ifd.tagtype[tag]
elif not (
isinstance(value, (int, float, str, bytes))
or (not py3 and isinstance(value, unicode))
): # noqa: F821
or (not py3 and isinstance(value, unicode)) # noqa: F821
):
continue
if tag not in atts and tag not in blocklist:
if isinstance(value, str if py3 else unicode): # noqa: F821
Expand Down

0 comments on commit c23da9e

Please sign in to comment.