Skip to content

Commit

Permalink
Fix returning wrong episodes in manual search
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandog committed Mar 28, 2016
1 parent 3efd8bb commit a71e5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/manual_snatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def get_provider_cache_results(indexer, show_all_results=None, perform_search=No
if not int(show_all_results):
sql_return = main_db_con.select(common_sql + additional_sql,
(curProvider.provider_type.title(), curProvider.image_name(),
curProvider.name, curProvider.get_id(), show, "|%" + episode + "|%", season))
curProvider.name, curProvider.get_id(), show, "%|{0}|%".format(episode), season))
else:
sql_return = main_db_con.select(common_sql,
(curProvider.provider_type.title(), curProvider.image_name(),
Expand Down

0 comments on commit a71e5eb

Please sign in to comment.