1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

Merge pull request #1278 from joshjowen/joshjowen-kat-verified-fix

Fix verified status of torrents from KAT
This commit is contained in:
Alexandre Beloin 2015-02-15 18:22:18 -05:00
commit ffdb127f18

View File

@ -239,7 +239,7 @@ class KATProvider(generic.TorrentProvider):
id = item['guid']
title = item['title']
url = item['torrent_magneturi']
verified = bool(item['torrent_verified'] or 0)
verified = bool(int(item['torrent_verified']) or 0)
seeders = int(item['torrent_seeds'])
leechers = int(item['torrent_peers'])
size = int(item['torrent_contentlength'])