Browse Source

Only add trailer to known quality list. fix #2684

pull/2687/head
Ruud 11 years ago
parent
commit
c948f38469
  1. 2
      couchpotato/core/providers/trailer/hdtrailers/main.py

2
couchpotato/core/providers/trailer/hdtrailers/main.py

@ -100,7 +100,7 @@ class HDTrailers(TrailerProvider):
continue
resolutions = tr.find_all('td', attrs = {'class':'bottomTableResolution'})
for res in resolutions:
if res.a:
if res.a and str(res.a.contents[0]) in results:
results[str(res.a.contents[0])].insert(0, res.a['href'])
except AttributeError:

Loading…
Cancel
Save