diff --git a/gameview.py b/gameview.py index 269b3ad..85935b2 100644 --- a/gameview.py +++ b/gameview.py @@ -2238,7 +2238,7 @@ class gui(QtGui.QWidget): except: pass - self.icLog.append('[%d:%.2d] %s: %s\n%s presented an evidence: %s' % (t[3], t[4], logcharname, chatmsg, f_char, eviname)) + self.icLog.append('[%d:%.2d] %s: %s\n%s presented an evidence: %s' % (t[3], t[4], logcharname, chatmsg, f_char, eviname.strip())) self.is_additive = (m_chatmessage[ADDITIVE] == "1") @@ -3207,7 +3207,7 @@ class gui(QtGui.QWidget): evi[0] = decode_ao_str(evi[0].decode('utf-8')) evi[1] = decode_ao_str(evi[1].decode('utf-8')) evi[2] = decode_ao_str(evi[2].decode('utf-8')) - self.evidencedropdown.addItem(evi[0]) + self.evidencedropdown.addItem(evi[0].strip()) if not self.evidence: self.evidencedropdown.setCurrentIndex(0)