Skip to content

Commit

Permalink
fix f-string not formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
SathyaBhat committed Aug 8, 2022
1 parent 1e9cdfa commit 04410b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source-code/chapter-5/exercise-2/newsbot/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_latest_news(sub_reddits):

# Can change the subreddit or add more.
sub_reddits = clean_up_subreddits(sub_reddits)
log.info('Fetching subreddits: {sub_reddits}')
log.info(f'Fetching subreddits: {sub_reddits}')
submissions = r.subreddit(sub_reddits).hot(limit=5)
submission_content = ''
try:
Expand Down

0 comments on commit 04410b6

Please sign in to comment.