Mercurial > code > home > repos > light9
changeset 298:d0f29e247af4
dmxclient cleanups and remove empty file
author | David McClosky <dmcc@bigasterisk.com> |
---|---|
date | Mon, 20 Jun 2005 08:43:35 +0000 |
parents | e76ab8bd4580 |
children | 6931479b657a |
files | Widgets/__init__.py light9/dmxclient.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.