Gazelle: improve isPersonalFreeleech handling

This commit is contained in:
kaso17 2017-08-24 10:21:20 +02:00
parent 466be31e6f
commit 183fb56b0a
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ namespace Jackett.Indexers.Abstract
{
release.DownloadVolumeFactor = 0;
}
if ((bool)torrent["isPersonalFreeleech"])
var isPersonalFreeleech = (bool?)torrent["isPersonalFreeleech"];
if (isPersonalFreeleech != null && isPersonalFreeleech == true)
{
release.DownloadVolumeFactor = 0;
}