diff --git a/pvconsumer/solar_sheffield_passiv.py b/pvconsumer/solar_sheffield_passiv.py index 4a35618..c3df4fb 100644 --- a/pvconsumer/solar_sheffield_passiv.py +++ b/pvconsumer/solar_sheffield_passiv.py @@ -39,9 +39,7 @@ def get_all_systems_from_solar_sheffield(pv_system_ids: List[int] = None) -> pd. full_url = f"{url}owner_system_params_rounded?user_id={user_id}&key={key}" response = requests.get(full_url) - assert ( - response.status_code == 200 - ), f"Cant get data from {url}owner_system_params_rounded" + assert response.status_code == 200, f"Cant get data from {url}owner_system_params_rounded" data_df = raw_to_dataframe(response=response)