Skip to content

Commit

Permalink
python(grass.imaging): Use PIL.__version__ call to fix pylint pointle…
Browse files Browse the repository at this point in the history
…ss-statement
  • Loading branch information
echoix committed Jul 7, 2024
1 parent 7bdc3e8 commit 25ddb44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/grass/imaging/images2gif.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

pillow = True
try:
PIL.__version__ # test if user has Pillow or PIL
PIL_version = PIL.__version__ # test if user has Pillow or PIL
except AttributeError:
pillow = False
from PIL.GifImagePlugin import getheader, getdata
Expand Down

0 comments on commit 25ddb44

Please sign in to comment.