jeromer/sickbeardsubtitlegrabber — Issue #2: Crash when no subtitle found
Author: alafon
Created: 2011-11-17 08:22:57+00:00
State: open

Fetching subtitles for /filer/Public/Videos/TV/Flashpoint/Flashpoint - 04x14 - Day Game - HD TV.mkv
Traceback (most recent call last):
File "fetchsubtitles.py", line 162, in
grabber.fetchSubTitles()
File "fetchsubtitles.py", line 38, in fetchSubTitles
self.sendSearchQuery()
File "fetchsubtitles.py", line 49, in sendSearchQuery
self.findSeasonPage(data)
File "fetchsubtitles.py", line 65, in findSeasonPage
self.downloadSubtitle(response.read())
File "fetchsubtitles.py", line 89, in downloadSubtitle
downloadLink = subtitleLink['href'].replace('subtitle', 'download')
TypeError: 'NoneType' object is unsubscriptable