Skip to content

Commit 6314670

Browse files
committed
Merge return statements
1 parent 2239733 commit 6314670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crx_repo/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ async def _check_update(
137137
params=params,
138138
proxy=self.proxy,
139139
) as response:
140-
141140
try:
142141
text = await response.text()
143142
except ClientError as e:
@@ -150,6 +149,7 @@ async def _check_update(
150149
"Failed to send update check request, it returns `%s`",
151150
text
152151
)
152+
text = None
153153
if text is None:
154154
return None
155155

0 commit comments

Comments
 (0)