From e4c3557d6bc862a55b609691bece4c165638bae0 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Sat, 9 Jan 2016 15:20:18 +0000 Subject: [PATCH] Change improve parsing from provider TtN. --- sickbeard/providers/transmithe_net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/providers/transmithe_net.py b/sickbeard/providers/transmithe_net.py index 4d1d3a25..2ab1d6df 100644 --- a/sickbeard/providers/transmithe_net.py +++ b/sickbeard/providers/transmithe_net.py @@ -77,7 +77,7 @@ class TransmithenetProvider(generic.TorrentProvider): cnt = len(items[mode]) try: - for item in data_json['response']['results']: + for item in data_json['response'].get('results', []): if self.freeleech and not item.get('isFreeleech'): continue