aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/plugins/task/rss.py
diff options
context:
space:
mode:
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,