We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3876681 commit 07f6667Copy full SHA for 07f6667
1 file changed
custom_components/sncf_trains/config_flow.py
@@ -75,7 +75,7 @@ async def _validate_api_key(self, api: SncfApiClient):
75
try:
76
results = await api.search_stations("paris")
77
return bool(results)
78
- except (aiohttp.ClientError, asyncio.TimeoutError):
+ except (ClientError, asyncio.TimeoutError):
79
return False
80
81
@classmethod
0 commit comments