@@ -1421,14 +1421,15 @@ def JCB(data,sock=None): #json client input
print(msg)
time.sleep(1/60)
-
-if __run_main:
+def main():
s = chat.Server(cb=JCB)
while 1:
s.poll()
time.sleep(0.001)
+if __run_main:
+ main()
+
@@ -1,4 +1,8 @@
+"""consol is the daemon of LibreLight
+ to map and calculate FIX,PATCH,EXEC to DMX
+"""
import _console
+_console.main()