Skip to content

Commit

Permalink
Update txredisapi.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ilya Skriblovsky <IlyaSkriblovsky@gmail.com>
  • Loading branch information
roeltm and IlyaSkriblovsky authored Mar 2, 2023
1 parent 063e0c1 commit f2ef373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txredisapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2388,7 +2388,7 @@ def makeConnection(host, port, dbid, poolsize, reconnect, isLazy,
charset, password, replyTimeout, convertNumbers)
factory.continueTrying = reconnect
for x in range(poolsize):
if isinstance(ssl_context_factory, bool) and ssl_context_factory is True:
if ssl_context_factory is True:
ssl_context_factory = ssl.ClientContextFactory()
if ssl_context_factory:
reactor.connectSSL(host, port, factory, ssl_context_factory, connectTimeout)
Expand Down

0 comments on commit f2ef373

Please sign in to comment.