Fix typo s/is_set/is_set()
This commit is contained in:
parent
3ab7c8bcc3
commit
f98e5a03de
1 changed files with 1 additions and 1 deletions
|
@ -1408,7 +1408,7 @@ class XMLStream(object):
|
|||
"""Extract stanzas from the send queue and send them on the stream."""
|
||||
try:
|
||||
while not self.stop.is_set():
|
||||
while not self.stop.is_set and \
|
||||
while not self.stop.is_set() and \
|
||||
not self.session_started_event.is_set():
|
||||
self.session_started_event.wait(timeout=1)
|
||||
if self.__failed_send_stanza is not None:
|
||||
|
|
Loading…
Reference in a new issue