mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 03:22:22 -05:00
Fix for Newznab providers
This commit is contained in:
parent
6c9fb4b0bd
commit
26e259c036
@ -168,7 +168,7 @@ class NewznabProvider(generic.NZBProvider):
|
|||||||
|
|
||||||
status = data.status
|
status = data.status
|
||||||
if status:
|
if status:
|
||||||
if status == 200:
|
if status in [200, 301]:
|
||||||
return True
|
return True
|
||||||
if status == 100:
|
if status == 100:
|
||||||
raise AuthException("Your API key for " + self.name + " is incorrect, check your config.")
|
raise AuthException("Your API key for " + self.name + " is incorrect, check your config.")
|
||||||
|
Loading…
Reference in New Issue
Block a user