From da255625c998581b5c7ca7439bf9de5f5af0aa5f Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Sun, 8 Nov 2020 02:36:35 -0500 Subject: [PATCH] remove socket engine because things are fucked --- leds.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/leds.py b/leds.py index 63dbde5..743bd9b 100644 --- a/leds.py +++ b/leds.py @@ -13,7 +13,6 @@ import light_manager import pattern import logger import threading -from socketengine import host this = sys.modules[__name__] @@ -57,15 +56,9 @@ def displayon(lcd): def socket_loop(): injected = False - h = host('0.0.0.0', '29999') - h.start() - while True: if not injected: this.lights.set_pattern(pattern.pat) - data = h.getAll("pattern") - if data is not None: - pattern.parse(data) def loop():