Private GIT

Skip to content
Snippets Groups Projects
Commit 8f6f6195 authored by Joshua Higgins's avatar Joshua Higgins Committed by Dustyn Gibson
Browse files

Fix bug preventing torrents with 0 leechers from being downloaded

parent ce74c295
Branches
Tags
No related merge requests found
......@@ -232,7 +232,7 @@ class HDTorrentsProvider(generic.TorrentProvider):
except (AttributeError, TypeError, KeyError, ValueError):
continue
if not title or not url or not seeders or not leechers or not size or \
if not title or not url or not seeders or leechers is None or not size or \
seeders < self.minseed or leechers < self.minleech:
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment