mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for issue #1041, dict has no attrib entries error
This commit is contained in:
parent
50840ec7d8
commit
df78fd6669
@ -238,8 +238,10 @@ class NewznabProvider(generic.NZBProvider):
|
||||
|
||||
def _checkAuthFromData(self, data):
|
||||
|
||||
if not (data.entries and data.feed):
|
||||
return self._checkAuth()
|
||||
try:
|
||||
data['feed']
|
||||
data['entries']
|
||||
except:return self._checkAuth()
|
||||
|
||||
try:
|
||||
err_code = int(data['feed']['error']['code'] or 0)
|
||||
|
Loading…
Reference in New Issue
Block a user