From 4ceee9a80357d79b6bed12d68b8ddaaf73ea6b14 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Fri, 21 Nov 2014 00:50:59 +0000 Subject: [PATCH] Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217. --- CHANGES.md | 1 + lib/tvdb_api/tvdb_api.py | 2 +- lib/tvrage_api/tvrage_api.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ca16e248..d2e32672 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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) diff --git a/lib/tvdb_api/tvdb_api.py b/lib/tvdb_api/tvdb_api.py index 9ade141b..49cd6666 100644 --- a/lib/tvdb_api/tvdb_api.py +++ b/lib/tvdb_api/tvdb_api.py @@ -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 diff --git a/lib/tvrage_api/tvrage_api.py b/lib/tvrage_api/tvrage_api.py index dd03b492..31a431d2 100644 --- a/lib/tvrage_api/tvrage_api.py +++ b/lib/tvrage_api/tvrage_api.py @@ -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