strip evidence names
This commit is contained in:
parent
1e59144b51
commit
cc33d71e3f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user