mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-22 01:23:43 +00:00
Merge branch 'feature/FixTypo' into develop
This commit is contained in:
commit
07d9956ce6
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
|
* Fix a handler when EpisodeData is not available in tvdb and tvrage APIs
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
|
* Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217
|
||||||
|
|
||||||
|
|
||||||
### 0.3.1 (2014-11-19 16:40:00 UTC)
|
### 0.3.1 (2014-11-19 16:40:00 UTC)
|
||||||
|
|
|
@ -938,7 +938,7 @@ class Tvdb:
|
||||||
# Item is integer, treat as show id
|
# Item is integer, treat as show id
|
||||||
if key not in self.shows:
|
if key not in self.shows:
|
||||||
self._getShowData(key, self.config['language'], True)
|
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()
|
key = str(key).lower()
|
||||||
self.config['searchterm'] = key
|
self.config['searchterm'] = key
|
||||||
|
|
|
@ -660,7 +660,7 @@ class TVRage:
|
||||||
# Item is integer, treat as show id
|
# Item is integer, treat as show id
|
||||||
if key not in self.shows:
|
if key not in self.shows:
|
||||||
self._getShowData(key, True)
|
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()
|
key = key.lower()
|
||||||
self.config['searchterm'] = key
|
self.config['searchterm'] = key
|
||||||
|
|
Loading…
Reference in a new issue