Skip to content

Commit ad941b4

Browse files
committed
lint fix
1 parent 20a1c0e commit ad941b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crawlee/_utils/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
4040
for attempt in range(max_attempts):
4141
try:
4242
return await func(*args, **kwargs)
43-
except exception_types as exc: # noqa: PERF203
43+
except exception_types: # noqa: PERF203
4444
if attempt >= max_attempts - 1:
4545
raise
4646
await _retry_sleep(base_delay_seconds * (2**attempt))

0 commit comments

Comments
 (0)