Skip to content

Commit

Permalink
Fix enclosure support (Issue #2189)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Dec 20, 2015
1 parent c92f632 commit 4eeea6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -11,6 +11,7 @@ Features
Bugfixes
--------

* Fix enclosures from metadata (Issue #2189)
* Restored log level to INFO (it broke many messages)
* Check HTTP response status of minifying tools and skip them if they’re unavailable
* Change rewrite rule for fragment-only links (Issue #2132)
Expand Down
3 changes: 2 additions & 1 deletion nikola/plugins/task/rss.py
Expand Up @@ -34,6 +34,7 @@
from urllib.parse import urljoin # NOQA

from nikola import utils
from nikola.nikola import _enclosure
from nikola.plugin_categories import Task


Expand Down Expand Up @@ -97,7 +98,7 @@ def gen_tasks(self):
(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,
Expand Down

0 comments on commit 4eeea6a

Please sign in to comment.