mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-17 23:22:47 +01:00
RSS: Fix bad usage of safe_substitute.
This commit is contained in:
parent
58f3649f58
commit
96ba33a296
@ -332,7 +332,7 @@ class RSS(callbacks.Plugin):
|
|||||||
template = self.registryValue(key_name, channel)
|
template = self.registryValue(key_name, channel)
|
||||||
date = entry.get('published_parsed')
|
date = entry.get('published_parsed')
|
||||||
date = utils.str.timestamp(date)
|
date = utils.str.timestamp(date)
|
||||||
return string.Template(template).safe_substitute(template,
|
return string.Template(template).safe_substitute(
|
||||||
feed_name=feed.name,
|
feed_name=feed.name,
|
||||||
date=date,
|
date=date,
|
||||||
**entry)
|
**entry)
|
||||||
|
Loading…
Reference in New Issue
Block a user