# HG changeset patch # User David McClosky # Date 1119257015 0 # Node ID d0f29e247af48f3b4374ec276878372f5c17b7d8 # Parent e76ab8bd45807ac99073bd76037d1d531eb58bf5 dmxclient cleanups and remove empty file diff -r e76ab8bd4580 -r d0f29e247af4 Widgets/__init__.py diff -r e76ab8bd4580 -r d0f29e247af4 light9/dmxclient.py --- a/light9/dmxclient.py Sat Jun 18 18:12:13 2005 +0000 +++ b/light9/dmxclient.py Mon Jun 20 08:43:35 2005 +0000 @@ -6,13 +6,13 @@ import xmlrpclib, os, sys, socket, time from light9 import networking -_dmx=None +_dmx = None procname = os.path.basename(sys.argv[0]) procname = procname.replace('.py', '') _id = "%s-%s-%s" % (procname, socket.gethostname(), os.getpid()) -def outputlevels(levellist,twisted=0,clientid=_id): +def outputlevels(levellist, twisted=0, clientid=_id): """present a list of dmx channel levels, each scaled from 0..1. list can be any length- it will apply to the first len() dmx channels.