From e718249a407f9902a9d30f629ad9391f474cab47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20F=C3=A9vry?= Date: Sun, 23 Oct 2011 20:23:05 +0000 Subject: [PATCH] Fix the picture for some special cases. --- data/tools/terrain2wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/tools/terrain2wiki.py b/data/tools/terrain2wiki.py index a4a0d35256a..088f0350500 100755 --- a/data/tools/terrain2wiki.py +++ b/data/tools/terrain2wiki.py @@ -66,7 +66,7 @@ def parse_terrain(data): | %s | %s """ % ( -"http://svn.gna.org/svn/wesnoth/trunk/data/core/images/terrain/%s.png" % content['symbol_image'], +"http://svn.gna.org/svn/wesnoth/trunk/data/core/images/terrain/%s.png" % (content['editor_image'] if 'editor_image' in content else content['symbol_image']), content['editor_name'][4:-1] if 'editor_name' in content else content['name'][4:-1], content['string'].replace("# wmllint: ignore", ""), content['aliasof'] if 'aliasof' in content else "",