Skip to content

Commit

Permalink
Fix test in case tvrage_id is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Ram-Z committed Mar 27, 2015
1 parent 9e3e69e commit acbdfed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexget/plugins/search_newznab.py
Expand Up @@ -93,7 +93,7 @@ def do_search_tvsearch(self, arg_entry, config=None):
# normally this should be used with emit_series who has provided season and episodenumber
if 'series_name' not in arg_entry or 'series_season' not in arg_entry or 'series_episode' not in arg_entry:
return []
if not arg_entry['tvrage_id']:
if 'tvrage_id' not in arg_entry:
serie_info = lookup_series(arg_entry['series_name'])
if not serie_info:
return []
Expand Down

0 comments on commit acbdfed

Please sign in to comment.