Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowtham1729 committed Dec 10, 2023
1 parent 77a8641 commit ba90c1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion applications/data_fetcher/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def fetch_news(self):
news += self.to_news(response_json["data"], tickers_list)

while (
page < 25 and page < response_json["meta"]["found"] // response_json["meta"]["limit"]
page < 25
and page
< response_json["meta"]["found"] // response_json["meta"]["limit"]
):
page += 1
response = requests.get(f"{news_url}&page={page}")
Expand Down

0 comments on commit ba90c1e

Please sign in to comment.