Skip to content

Commit

Permalink
Remove useless dupe code from tvcuk
Browse files Browse the repository at this point in the history
  • Loading branch information
duramato committed Apr 30, 2016
1 parent b7efe2b commit 31dc64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/providers/tvchaosuk.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def search(self, search_strings, age=0, ep_obj=None): # pylint: disable=too-man
if self.freeleech and not torrent.find('img', alt=re.compile('Free Torrent')):
continue

title = torrent.find(class_='tooltip-content').div.get_text(strip=True).replace('mp4', 'x264')
title = torrent.find(class_='tooltip-content').div.get_text(strip=True)
download_url = torrent.find(title='Click to Download this Torrent!').parent['href']
if not all([title, download_url]):
continue
Expand Down

0 comments on commit 31dc64b

Please sign in to comment.