Skip to content

Commit

Permalink
Avoid more string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
medariox committed Oct 3, 2018
1 parent e841e2c commit 68b427c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions medusa/refiners/tv_episode.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def refine(video, tv_episode=None, **kwargs):
return

if not isinstance(video, Episode):
log.debug('Video {name} is not an episode. Skipping refiner...',
log.debug('Video {name!r} is not an episode. Skipping refiner...',
{'name': video.name})
return

Expand Down Expand Up @@ -92,5 +92,5 @@ def enrich(attributes, target, source=None, overwrite=True):

if new_value and old_value != new_value:
setattr(target, key, new_value)
log.debug('Attribute {key} changed from {old} to {new}',
log.debug('Attribute {key} changed from {old!r} to {new!r}',
{'key': key, 'old': old_value, 'new': new_value})

0 comments on commit 68b427c

Please sign in to comment.