From 4a4f69796f2b8499fa6beb8c7849d023716abaad Mon Sep 17 00:00:00 2001 From: Normann Date: Wed, 8 Jan 2025 18:58:57 +0100 Subject: [PATCH] remove print --- src/akkudoktoreos/prediction/elecpriceakkudoktor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/akkudoktoreos/prediction/elecpriceakkudoktor.py b/src/akkudoktoreos/prediction/elecpriceakkudoktor.py index 6ae77004..a85d1deb 100644 --- a/src/akkudoktoreos/prediction/elecpriceakkudoktor.py +++ b/src/akkudoktoreos/prediction/elecpriceakkudoktor.py @@ -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