Private GIT

Skip to content
Snippets Groups Projects
Commit 016c646b authored by Gosku's avatar Gosku
Browse files

Fix name of attribute that newsznab returns

parent 7528ea82
Branches
Tags
No related merge requests found
...@@ -423,7 +423,7 @@ class NewznabCache(tvcache.TVCache): ...@@ -423,7 +423,7 @@ class NewznabCache(tvcache.TVCache):
tvrageid = 0 tvrageid = 0
for attr in item['newznab_attr'] if isinstance(item['newznab_attr'], list) else [item['newznab_attr']]: for attr in item['newznab_attr'] if isinstance(item['newznab_attr'], list) else [item['newznab_attr']]:
if attr['name'] == 'tvrageid': if attr['name'] == 'tvrageid' or attr['name'] == 'rageid':
tvrageid = int(attr['value'] or 0) tvrageid = int(attr['value'] or 0)
break break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment