diff --git a/medusa/server/web/home/add_shows.py b/medusa/server/web/home/add_shows.py index 806a169a29..51761e3b0f 100644 --- a/medusa/server/web/home/add_shows.py +++ b/medusa/server/web/home/add_shows.py @@ -101,7 +101,7 @@ def searchIndexersForShowName(search_term, lang=None, indexer=None): for i, shows in iteritems(results): final_results.extend({(indexerApi(i).name, i, indexerApi(i).config['show_url'], int(show['id']), show['seriesname'].encode('utf-8'), show['firstaired'] or 'N/A', - show['network'].encode('utf-8') or 'N/A') for show in shows}) + show.get('network', '').encode('utf-8') or 'N/A') for show in shows}) lang_id = indexerApi().config['langabbv_to_id'][lang] return json.dumps({'results': final_results, 'langid': lang_id})