changeset 322:35bf08ec6596

text_x_arnica: strip image names in alias definitions
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 20 Dec 2008 07:42:59 +0100
parents c958b4dbfa4a
children b7fed7cdc13d
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Thu Dec 18 14:44:59 2008 +0100
+++ b/data/plugin/parser/text_x_arnica.py	Sat Dec 20 07:42:59 2008 +0100
@@ -369,7 +369,7 @@
             image_names = image_alias.keys()
             alias_text = image_alias.values()
             to_order = [int(alias_text[ix][1]) for ix in range(len(alias_text))]
-            names = [alias_text[ix][2] for ix in range(len(alias_text))]
+            names = [(alias_text[ix][2]).strip() for ix in range(len(alias_text))]
             alias = [alias_text[ix][0] for ix in range(len(alias_text))]
 
             i = 0