From 204092415bbc8c535864bbc10a7c481d4d80d49a Mon Sep 17 00:00:00 2001 From: Sean Corrigan Date: Thu, 24 Dec 2020 15:26:33 -0500 Subject: [PATCH] issues with queue[0] --- PIcontroller.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/PIcontroller.py b/PIcontroller.py index a06a85c..bf019f5 100644 --- a/PIcontroller.py +++ b/PIcontroller.py @@ -14,12 +14,10 @@ def listfromAPI(message): continue # skip if blank first message if mess[0] == " ": queueList.append(mess[1:]) - # Quick Bugfix - fixcomma = queueList[0].split() - queueList[0] = "".join(fixcomma[:-1]) - print(queueList) - return queueList queueList.append(mess) + # fixcomma = queueList[0].split() + queueList[0] = "".join(queueList[0][:-1]) + print(queueList[0]) return queueList def fixformatting(message):