Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
NormannK committed Jan 8, 2025
1 parent e081317 commit 4a4f697
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/akkudoktoreos/prediction/elecpriceakkudoktor.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def _request_forecast(self) -> AkkudoktorElecPrice:
date = to_datetime(self.start_datetime - to_duration("35 days"), as_string="YYYY-MM-DD")
last_date = to_datetime(self.end_datetime, as_string="YYYY-MM-DD")
url = f"{source}/prices?start={date}&end={last_date}&tz={self.config.timezone}"
print(url)
response = requests.get(url)
logger.debug(f"Response from {url}: {response}")
response.raise_for_status() # Raise an error for bad responses
Expand Down

0 comments on commit 4a4f697

Please sign in to comment.