Commits

Cédric Bonhomme committed b1a1107

Bug fix : stupid error in save_conversation function.

Comments (0)

Files changed (1)

source/simpleGui.py

         text_file = tkFileDialog.asksaveasfile(parent = self.master, \
             filetypes = formats, title = "Save the conversation", mode='w')
         if text_file != None:
-            text = str(self.message_to_send.get(1.0, END).encode('utf-8'))
+            text = str(self.conversation_zone.get(1.0, END).encode('utf-8'))
             try:
                 text_file.write('%s' % text)
                 text_file.close()