We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1085e16 commit 0b776acCopy full SHA for 0b776ac
tornadis/client.py
@@ -47,7 +47,7 @@ def __init__(self, autoconnect=True, password=None, **connection_kwargs):
47
**connection_kwargs: :class:`Connection` object kwargs.
48
"""
49
if 'read_callback' in connection_kwargs or \
50
- 'close_callback' in connection_kwargs:
+ 'close_callback' in connection_kwargs:
51
raise Exception("read_callback and close_callback are not allowed "
52
"to be used here.")
53
self.connection_kwargs = connection_kwargs
0 commit comments