Skip to content

Commit 07f6667

Browse files
authored
fix: code lint
1 parent 3876681 commit 07f6667

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/sncf_trains/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async def _validate_api_key(self, api: SncfApiClient):
7575
try:
7676
results = await api.search_stations("paris")
7777
return bool(results)
78-
except (aiohttp.ClientError, asyncio.TimeoutError):
78+
except (ClientError, asyncio.TimeoutError):
7979
return False
8080

8181
@classmethod

0 commit comments

Comments
 (0)