Mercurial > code > home > repos > light9
changeset 314:3a418fe9e5b1
formatting
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Fri, 16 Jun 2006 17:00:59 +0000 |
parents | b2577d48d833 |
children | ec44c6ddc8cf |
files | light9/dmxclient.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/dmxclient.py Fri Jun 16 17:00:18 2006 +0000 +++ b/light9/dmxclient.py Fri Jun 16 17:00:59 2006 +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.