Private GIT

Skip to content
Snippets Groups Projects
Commit a1992143 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Merge pull request #1962 from miigotu/oops-newznab

Oops, searches weren't ran at all
parents c8f889a5 456801f8
No related branches found
No related tags found
No related merge requests found
......@@ -271,7 +271,7 @@ class NewznabProvider(generic.NZBProvider):
offset = total = 0
# Limit to 400 results, like Sick Beard does, to prevent throttling
while (total > offset) and (offset <= 400):
while (total >= offset) and (offset <= 400):
search_url = self.url + 'api?' + urllib.urlencode(params)
logger.log(u"Search url: " + search_url, logger.DEBUG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment