diff --git a/openbb_platform/providers/ecb/openbb_ecb/models/yield_curve.py b/openbb_platform/providers/ecb/openbb_ecb/models/yield_curve.py index e8c707fe05ca..50a6547a48f4 100644 --- a/openbb_platform/providers/ecb/openbb_ecb/models/yield_curve.py +++ b/openbb_platform/providers/ecb/openbb_ecb/models/yield_curve.py @@ -100,7 +100,7 @@ async def get_one(maturity, use_cache): await session.close() else: response = await amake_request(url=url) - if not response: # pylint: disable=E0606 + if not response: # pylint: disable=E0606 raise RuntimeError("Error: No data was returned.") if isinstance(response, List): # pylint: disable=E0606 for item in response: