Use single quotes instead of double quotes for decoding error
This commit is contained in:
parent
e836cfb0f6
commit
205b77686e
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user