Mercurial > code > home > repos > light9
changeset 1823:3f606666105b
fix dummy mode on collector
Ignore-this: 4bdc03eec9832f0879f4e92b01b56ecf
author | drewp@bigasterisk.com |
---|---|
date | Sat, 09 Jun 2018 01:20:49 +0000 |
parents | 0da5fcfe4ea5 |
children | 95649051482e |
files | light9/collector/output.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/collector/output.py Sat Jun 09 01:19:23 2018 +0000 +++ b/light9/collector/output.py Sat Jun 09 01:20:49 2018 +0000 @@ -54,9 +54,9 @@ raise NotImplementedError class DummyOutput(Output): - def __init__(self, uri, *args): + def __init__(self, uri, numChannels=1, **kw): self.uri = uri - self.numChannels = args[-1] + self.numChannels = numChannels def update(self, values): pass