diff --git a/python/grass/imaging/images2gif.py b/python/grass/imaging/images2gif.py index 95d72add09a..b80f452cf8c 100644 --- a/python/grass/imaging/images2gif.py +++ b/python/grass/imaging/images2gif.py @@ -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