Use formatted file size

since that what was used by Nyaa.
This commit is contained in:
Kfir Hadas 2017-05-14 18:57:57 +03:00
parent 837ecde795
commit c691087730
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<pubDate>{{ torrent.created_time|rfc822 }}</pubDate>
{% endif %}
<category>{{ torrent.main_category.name }} - {{ torrent.sub_category.name }}</category>
<size>{{ torrent.filesize }}</size>
<size>{{ torrent.filesize | filesizeformat(True) }}</size>
<seeders>{{ torrent.stats.seed_count }}</seeders>
<leechers>{{ torrent.stats.leech_count }}</leechers>
<downloads>{{ torrent.stats.download_count }}</downloads>