Skip to content

Commit

Permalink
Fix a crash when using other languages for TVDB
Browse files Browse the repository at this point in the history
  • Loading branch information
midgetspy committed May 4, 2011
1 parent 32be2ca commit 50b948e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sickbeard/tvcache.py
Expand Up @@ -200,6 +200,8 @@ def _addCacheEntry(self, name, url, season=None, episodes=None, tvdb_id=0, tvrag
logger.log(u"No series name retrieved from "+name+", unable to cache it", logger.DEBUG)
return False

tvdb_lang = None

# if we need tvdb_id or tvrage_id then search the DB for them
if not tvdb_id or not tvrage_id:

Expand Down

0 comments on commit 50b948e

Please sign in to comment.