Skip to content

Commit 99e3ab9

Browse files
committed
fix typo
1 parent 9d3e99d commit 99e3ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/_topic_common/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def safe_call_with_result(self, coro: typing.Coroutine, timeout: typing.Union[in
9191
no lost returned value from coro, but may be slower especially timeout latency - it wait coroutine cancelation.
9292
"""
9393

94-
if timeout <= 0:
94+
if timeout is not None and timeout <= 0:
9595
return self._safe_call_fast(coro)
9696

9797
async def call_coro():

0 commit comments

Comments
 (0)