remove socket engine because things are fucked
This commit is contained in:
parent
f64c772509
commit
da255625c9
1 changed files with 0 additions and 7 deletions
7
leds.py
7
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():
|
||||
|
|
Loading…
Reference in a new issue