From 96ba33a2961200f9fb8d0f21535a595b1ee83145 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 13 Aug 2014 14:17:06 +0000 Subject: [PATCH] RSS: Fix bad usage of safe_substitute. --- plugins/RSS/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/RSS/plugin.py b/plugins/RSS/plugin.py index 6e1ec3b3e..e2efc8cc6 100644 --- a/plugins/RSS/plugin.py +++ b/plugins/RSS/plugin.py @@ -332,7 +332,7 @@ class RSS(callbacks.Plugin): template = self.registryValue(key_name, channel) date = entry.get('published_parsed') date = utils.str.timestamp(date) - return string.Template(template).safe_substitute(template, + return string.Template(template).safe_substitute( feed_name=feed.name, date=date, **entry)