Skip to content

Commit

Permalink
use str.format instead of %s for search string
Browse files Browse the repository at this point in the history
  • Loading branch information
eriweb committed Feb 27, 2016
1 parent 24e338f commit 5b8ae9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/providers/norbits.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _make_post_data_JSON(self, show=None, episode=None, season=None, search_term
if episode:
ep_num = episode_num(episode.scene_season, episode.scene_episode)
show_name = sanitizeSceneName(show.name)
search = '%s.%s' % (show_name, ep_num)
search = '{}.{}'.format(show_name, ep_num)
post_data['search'] = search

if season:
Expand Down

0 comments on commit 5b8ae9c

Please sign in to comment.