Skip to content

Commit fb2b710

Browse files
meiravgriGuyAv46
andauthored
Update redis/commands/search/query.py
Co-authored-by: GuyAv46 <[email protected]>
1 parent 6590130 commit fb2b710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/commands/search/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def slop(self, slop):
135135
def timeout(self, timeout):
136136
"""overrides the timeout parameter of the module"""
137137
if isinstance(timeout, int) and timeout >= 0:
138-
self._timeout = timeou
138+
self._timeout = timeout
139139
else:
140140
raise AttributeError("TIMEOUT requires a non negative integer.")
141141
return self

0 commit comments

Comments
 (0)