Skip to content

Commit

Permalink
Merge pull request freeciv#283 from cazfi/pillow-fix
Browse files Browse the repository at this point in the history
Make compatible with pillow > 6.0
  • Loading branch information
cazfi authored Jul 26, 2019
2 parents 9226090 + c831b2f commit 93abf47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/freeciv-img-extract/img-extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 93abf47

Please sign in to comment.