fix missing flush() calls
This commit is contained in:
parent
5a8509ab75
commit
7fa04fe1d2
5 changed files with 14 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ class Chatoob(ReplApplication):
|
|||
"""
|
||||
for backend, contact in self.do('iter_contacts', status=Contact.STATUS_ONLINE, caps=ICapContact):
|
||||
self.format(contact)
|
||||
self.flush()
|
||||
|
||||
def do_messages(self, line):
|
||||
"""
|
||||
|
|
@ -52,6 +53,7 @@ class Chatoob(ReplApplication):
|
|||
"""
|
||||
for backend, message in self.do('iter_chat_messages'):
|
||||
self.format(message)
|
||||
self.flush()
|
||||
|
||||
def do_send(self, line):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue