Skip to content

Commit

Permalink
Merge return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
arenekosreal committed Sep 20, 2024
1 parent 2239733 commit 6314670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crx_repo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ async def _check_update(
params=params,
proxy=self.proxy,
) as response:

try:
text = await response.text()
except ClientError as e:
Expand All @@ -150,6 +149,7 @@ async def _check_update(
"Failed to send update check request, it returns `%s`",
text
)
text = None
if text is None:
return None

Expand Down

0 comments on commit 6314670

Please sign in to comment.