Skip to content

Commit 0d83bfe

Browse files
authored
Update newsapi.py
1 parent eff2847 commit 0d83bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

speech_recognition_news/newsapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def get_top_news(news_information, todays_date):
3838
article.parse()
3939
article.nlp()
4040
summary = article.summary # noqa
41-
news_information[i["source"]["name"]] = {"title": i["title"], "summary":summary, "url":i["url"], "date":f"{todays_date}"}
41+
news_information[i["source"]["name"]] = {"title": i["title"], "summary": summary, "url": i["url"], "date": f"{todays_date}"} # noqa
4242

4343

4444
def json_file(news_information, todays_date):

0 commit comments

Comments
 (0)