From 6b5201990858c591ff80594b66d466ce1f61afef Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 7 Dec 2011 16:59:09 +0000 Subject: [PATCH] Fix crash with PySide when sending unicode data on socket --- src/qweechat/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qweechat/network.py b/src/qweechat/network.py index 4880085..a068996 100644 --- a/src/qweechat/network.py +++ b/src/qweechat/network.py @@ -118,7 +118,7 @@ class Network(QtCore.QObject): self._socket.abort() def send_to_weechat(self, message): - self._socket.write(message) + self._socket.write(str(message)) def status_icon(self, status): icon = {self.status_disconnected: 'dialog-close.png',