From ca382bff9c0c58aa91ba8e5a621f203eb7228f26 Mon Sep 17 00:00:00 2001 From: TheAMM Date: Thu, 25 May 2017 21:52:01 +0300 Subject: [PATCH] Fix RSS magnets for ES torrents --- nyaa/templates/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyaa/templates/rss.xml b/nyaa/templates/rss.xml index 0cd5181..295e1ea 100644 --- a/nyaa/templates/rss.xml +++ b/nyaa/templates/rss.xml @@ -12,7 +12,7 @@ {% if torrent.has_torrent and not magnet_links %} {{ url_for('download_torrent', torrent_id=torrent.meta.id, _external=True) }} {% else %} - {{ create_magnet_from_info(torrent.display_name, torrent.info_hash) }} + {{ create_magnet_from_es_info(torrent.display_name, torrent.info_hash) }} {% endif %} {{ url_for('view_torrent', torrent_id=torrent.meta.id, _external=True) }} {{ torrent.created_time|rfc822_es }}