Use single quotes instead of double quotes for decoding error

This commit is contained in:
Sebastien Helleu 2013-02-04 11:54:06 +01:00
parent e836cfb0f6
commit 205b77686e

View file

@ -254,7 +254,7 @@ class MainWindow(QtGui.QMainWindow):
self.debug_display(0, '', 'Message: %s' % message) self.debug_display(0, '', 'Message: %s' % message)
self.parse_message(message) self.parse_message(message)
except: except:
print("Error while decoding message from WeeChat") print('Error while decoding message from WeeChat')
self.network.disconnect_weechat() self.network.disconnect_weechat()
def parse_message(self, message): def parse_message(self, message):