mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix for Newznab providers
This commit is contained in:
parent
6c9fb4b0bd
commit
26e259c036
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class NewznabProvider(generic.NZBProvider):
|
|||
|
||||
status = data.status
|
||||
if status:
|
||||
if status == 200:
|
||||
if status in [200, 301]:
|
||||
return True
|
||||
if status == 100:
|
||||
raise AuthException("Your API key for " + self.name + " is incorrect, check your config.")
|
||||
|
|
Loading…
Reference in a new issue