From cc33d71e3f683aeed650632673864c4c70784914 Mon Sep 17 00:00:00 2001 From: cidoku Date: Thu, 27 Feb 2025 02:54:16 -0300 Subject: [PATCH] strip evidence names --- gameview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)