remove socket engine because things are fucked

This commit is contained in:
jane 2020-11-08 02:36:35 -05:00
parent f64c772509
commit da255625c9

View file

@ -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():