mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217.
This commit is contained in:
parent
262e54a123
commit
4ceee9a803
3 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue