Revert a typo and an equality check
This commit is contained in:
parent
03cd8d4f08
commit
3d35d2e02d
@ -138,7 +138,7 @@ class NewMpvPlayer(OldMpvPlayer):
|
||||
if not self._client._config["chatOutputEnabled"]:
|
||||
super(self.__class__, self).displayChatMessage(username, message)
|
||||
return
|
||||
username = self._sanitizeText(username.replace("\\", sconstants.MPV_INPUT_BACKSLASH_SUBSTITUTE_CHARACTER))
|
||||
username = self._sanitizeText(username.replace("\\", constants.MPV_INPUT_BACKSLASH_SUBSTITUTE_CHARACTER))
|
||||
message = self._sanitizeText(message.replace("\\", constants.MPV_INPUT_BACKSLASH_SUBSTITUTE_CHARACTER))
|
||||
messageString = "<{}> {}".format(username, message)
|
||||
self._listener.sendLine('script-message-to syncplayintf chat "{}"'.format(messageString))
|
||||
|
||||
@ -1314,7 +1314,7 @@ class ConfigDialog(QtWidgets.QDialog):
|
||||
self.addBottomLayout()
|
||||
self.updatePasswordVisibilty()
|
||||
|
||||
if self.getMoreState() is False:
|
||||
if self.getMoreState() == False:
|
||||
self.tabListFrame.hide()
|
||||
self.resetButton.hide()
|
||||
self.playerargsTextbox.hide()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user