Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217.

This commit is contained in:
JackDandy 2014-11-21 00:50:59 +00:00
parent 262e54a123
commit 4ceee9a803
3 changed files with 3 additions and 2 deletions

View file

@ -36,6 +36,7 @@
* Fix a handler when EpisodeData is not available in tvdb and tvrage APIs
[develop changelog]
* Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217
### 0.3.1 (2014-11-19 16:40:00 UTC)

View file

@ -938,7 +938,7 @@ class Tvdb:
# Item is integer, treat as show id
if key not in self.shows:
self._getShowData(key, self.config['language'], True)
return (None, self.shows[key])[key in self.show]
return (None, self.shows[key])[key in self.shows]
key = str(key).lower()
self.config['searchterm'] = key

View file

@ -660,7 +660,7 @@ class TVRage:
# Item is integer, treat as show id
if key not in self.shows:
self._getShowData(key, True)
return (None, self.shows[key])[key in self.show]
return (None, self.shows[key])[key in self.shows]
key = key.lower()
self.config['searchterm'] = key