Skip to content

Commit

Permalink
improve indentation to format logs better
Browse files Browse the repository at this point in the history
Signed-off-by: Aadi Bajpai <me@aadibajpai.me>
  • Loading branch information
Aadi Bajpai committed Jun 21, 2020
1 parent 82b784d commit 9dce8f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swaglyrics_backend/issue_maker.py
Expand Up @@ -169,10 +169,10 @@ def genius_stripper(song: str, artist: str) -> Optional[str]:
hits = data['response']['hits']
for hit in hits:
full_title = hit['result']['full_title']
logging.info(f'{full_title=}')
logging.info(f' full title: {full_title}')
# remove punctuation before comparison
full_title = re.sub(alg, '', full_title)
logging.info(f'stripped full title: {full_title}')
logging.info(f' stripped full title: {full_title}')

if not is_title_mismatched(words, full_title, max_err):
# return stripper as no mismatch
Expand Down

0 comments on commit 9dce8f3

Please sign in to comment.