Skip to content

Commit 23b1b68

Browse files
Saurav SharmaSaurav Sharma
authored andcommitted
Improvement: None removed for timeout
1 parent 6285275 commit 23b1b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_redis/client/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def pexpire(
318318
version: Optional[int] = None,
319319
client: Optional[Redis] = None,
320320
) -> bool:
321-
if (timeout is DEFAULT_TIMEOUT) or (timeout is None):
321+
if timeout is DEFAULT_TIMEOUT:
322322
timeout = self._backend.default_timeout # type: ignore
323323

324324
if client is None:

0 commit comments

Comments
 (0)