Skip to content

Commit 31a1c0b

Browse files
authored
Fix: tuple function cannot be passed more than one argument (#2573)
1 parent 428d609 commit 31a1c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def int_or_str(value):
5656
try:
5757
VERSION = tuple(map(int_or_str, __version__.split(".")))
5858
except AttributeError:
59-
VERSION = tuple(99, 99, 99)
59+
VERSION = tuple([99, 99, 99])
6060

6161
__all__ = [
6262
"AuthenticationError",

0 commit comments

Comments
 (0)