From c691087730f52345cfdbf4c72b056625b70cb5a4 Mon Sep 17 00:00:00 2001 From: Kfir Hadas Date: Sun, 14 May 2017 18:57:57 +0300 Subject: [PATCH] Use formatted file size since that what was used by Nyaa. --- 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 97eaba7..839e55a 100644 --- a/nyaa/templates/rss.xml +++ b/nyaa/templates/rss.xml @@ -26,7 +26,7 @@ {{ torrent.created_time|rfc822 }} {% endif %} {{ torrent.main_category.name }} - {{ torrent.sub_category.name }} - {{ torrent.filesize }} + {{ torrent.filesize | filesizeformat(True) }} {{ torrent.stats.seed_count }} {{ torrent.stats.leech_count }} {{ torrent.stats.download_count }}