fixed problem with {} in messages on Linux
This commit is contained in:
parent
6d7d3cbc9d
commit
e75b9a867e
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class Controller(QtCore.QObject):
|
|||
if message.isPrivate:
|
||||
isPrivate = "true"
|
||||
|
||||
func = ("tentia_instance.sendNewMessage(\"" + text + "\", \"{}\", \"{}\", {}, {}, {});").format( in_reply_to_status_id, in_reply_to_entity, locationObject, imageFilePath, isPrivate)
|
||||
func = u"tentia_instance.sendNewMessage(\"{}\", \"{}\", \"{}\", {}, {}, {});".format(text, in_reply_to_status_id, in_reply_to_entity, locationObject, imageFilePath, isPrivate)
|
||||
self.app.timeline.evaluateJavaScript(func)
|
||||
|
||||
@QtCore.pyqtSlot(str, str)
|
||||
|
|
Reference in a new issue