From dc3e24135ee504bd502d82421c396a77b49d8736 Mon Sep 17 00:00:00 2001 From: Sean Corrigan Date: Thu, 24 Dec 2020 15:01:36 -0500 Subject: [PATCH] trying to fix this --- PIcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIcontroller.py b/PIcontroller.py index 38a4f41..c4befe5 100644 --- a/PIcontroller.py +++ b/PIcontroller.py @@ -39,7 +39,7 @@ def main(): response = requests.get("{}/queue?api={}".format(LoveBOXAPIurl,LoveBOXAPIapi), verify=True).content.decode() response = listfromAPI(response) if response == None: return - if len(response) => 1: + if len(response) >= 1: sendUpdate(fixformatting(response[0])) requests.get("{}/clear?api={}".format(LoveBOXAPIurl,LoveBOXAPIapi), verify=True).content.decode()