Fix RSS magnets for ES torrents

This commit is contained in:
TheAMM 2017-05-25 21:52:01 +03:00
parent 0394639954
commit ca382bff9c
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
{% if torrent.has_torrent and not magnet_links %}
<link>{{ url_for('download_torrent', torrent_id=torrent.meta.id, _external=True) }}</link>
{% else %}
<link>{{ create_magnet_from_info(torrent.display_name, torrent.info_hash) }}</link>
<link>{{ create_magnet_from_es_info(torrent.display_name, torrent.info_hash) }}</link>
{% endif %}
<guid isPermaLink="true">{{ url_for('view_torrent', torrent_id=torrent.meta.id, _external=True) }}</guid>
<pubDate>{{ torrent.created_time|rfc822_es }}</pubDate>