Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/chat/Chat.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/chat/Chat.py')
-rw-r--r--sugar/chat/Chat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar/chat/Chat.py b/sugar/chat/Chat.py
index 51f24f9..826c4cf 100644
--- a/sugar/chat/Chat.py
+++ b/sugar/chat/Chat.py
@@ -244,6 +244,8 @@ class Chat(gtk.VBox):
return
if self._stream_writer:
self._stream_writer.write(self.serialize_message(text))
+ else:
+ print 'Cannot send message, there is no stream writer'
owner = PresenceService.get_instance().get_owner()
if owner:
self._insert_rich_message(owner, text)