more guards against empty packet parameters
This commit is contained in:
parent
aef5984d70
commit
f0ee7e08c5
@ -3689,6 +3689,8 @@ class GUI(QtGui.QWidget):
|
|||||||
self.sideChar.hide()
|
self.sideChar.hide()
|
||||||
self.sideChar.move(0,0)
|
self.sideChar.move(0,0)
|
||||||
else:
|
else:
|
||||||
|
got_otherCharId = -1
|
||||||
|
if self.mChatMessage[OTHER_CHARID]:
|
||||||
if "effects" in self.features:
|
if "effects" in self.features:
|
||||||
got_otherCharId = int(self.mChatMessage[OTHER_CHARID].split("^")[0])
|
got_otherCharId = int(self.mChatMessage[OTHER_CHARID].split("^")[0])
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user