Browse files

Fix importing "setdefaultencoding" from sys module not being loaded. …

…This will cause QT4 chat-window not to work!
  • Loading branch information...
1 parent 9ffa7d7 commit 80e4e5f4775222a550cbbda7d5daa05e1f92546f alexandernst committed Sep 19, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 amsn2/gui/front_ends/qt4/
@@ -21,6 +21,7 @@
import cgi
import time
import sys
import papyon
from amsn2.gui import base
@@ -86,7 +87,7 @@ def __init__(self, amsn_conversation, parent, contacts_uid):
QObject.connect(self.ui.actionNudge, SIGNAL("triggered()"), self.__sendNudge)
#TODO: remove this when papyon is "fixed"...
- sys.setappdefaultencoding("utf8")
+ sys.setdefaultencoding("utf8")
def processInput(self):
""" Here we process what is inside the widget... so showing emoticon

0 comments on commit 80e4e5f

Please sign in to comment.