summaryrefslogtreecommitdiffstats
path: root/nikola/plugins/task/rss.py
diff options
context:
space:
mode:
authorLibravatarDererk <dererk@satellogic.com>2016-11-15 14:18:46 -0300
committerLibravatarDererk <dererk@satellogic.com>2016-11-15 14:18:46 -0300
commitffb671c61a24a9086343b54bad080e145ff33fc5 (patch)
tree2c5291f7a34edf4afdc8e07887a148291bfa3fa1 /nikola/plugins/task/rss.py
parent4e3224c012df9f74f010eb92203520515e8537b9 (diff)
New upstream version 7.8.1upstream/7.8.1
Diffstat (limited to 'nikola/plugins/task/rss.py')
-rw-r--r--nikola/plugins/task/rss.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nikola/plugins/task/rss.py b/nikola/plugins/task/rss.py
index be57f5c..780559b 100644
--- a/nikola/plugins/task/rss.py
+++ b/nikola/plugins/task/rss.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright © 2012-2015 Roberto Alsina and others.
+# Copyright © 2012-2016 Roberto Alsina and others.
# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and associated
@@ -34,6 +34,7 @@ except ImportError:
from urllib.parse import urljoin # NOQA
from nikola import utils
+from nikola.nikola import _enclosure
from nikola.plugin_categories import Task
@@ -97,7 +98,7 @@ class GenerateRSS(Task):
(lang, kw["blog_title"](lang), kw["site_url"],
kw["blog_description"](lang), posts, output_name,
kw["feed_teasers"], kw["feed_plain"], kw['feed_length'], feed_url,
- None, kw["feed_links_append_query"]))],
+ _enclosure, kw["feed_links_append_query"]))],
'task_dep': ['render_posts'],
'clean': True,