From f32b006d54af2b8287abdccb59e7bfa98e080951 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sun, 16 Aug 2015 00:06:59 +0200 Subject: [PATCH] plugin text-syntaxes: minor variable renaming --- src/plugins/plugin_misc_text_syntaxes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_misc_text_syntaxes.py b/src/plugins/plugin_misc_text_syntaxes.py index 6a2878f1..7a4fb1fc 100755 --- a/src/plugins/plugin_misc_text_syntaxes.py +++ b/src/plugins/plugin_misc_text_syntaxes.py @@ -166,7 +166,7 @@ class TextSyntaxes(object): if value == "none": continue cleaned_styles.append((key, value)) - return "; ".join(["%s: %s" % (key, value) for key, value in cleaned_styles]) + return "; ".join(["%s: %s" % (key_, value_) for key_, value_ in cleaned_styles]) if isinstance(xhtml, basestring): xhtml_elt = html.fromstring(xhtml)