From c831b2f585478c60cb61383afa7e7a2fb048d2f0 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 26 Jul 2019 23:17:59 +0300 Subject: [PATCH] Make compatible with pillow > 6.0 Signed-off-by: Marko Lindqvist --- scripts/freeciv-img-extract/img-extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/freeciv-img-extract/img-extract.py b/scripts/freeciv-img-extract/img-extract.py index 89866d3ef..340d796cb 100755 --- a/scripts/freeciv-img-extract/img-extract.py +++ b/scripts/freeciv-img-extract/img-extract.py @@ -130,7 +130,7 @@ def expand_spec_files(name, file_names): tileset_width = 1800; dither_types = ["t.l0.desert1", "t.l0.plains1", "t.l0.grassland1", "t.l0.forest1", "t.l0.jungle1", "t.l0.hills1", "t.l0.mountains1", "t.l0.tundra1", "t.l0.swamp1"]; -print("Freeciv-img-extract running with PIL " + Image.VERSION); +print("Freeciv-img-extract running with PIL " + Image.__version__); tileset = Image.new('RGBA', (tileset_width, tileset_height), (0, 0, 0, 0)); mask_image = None; dither_mask = None;