Changeset - 54f4f5158ddf
[Not reviewed]
default
0 2 1
drewp@bigasterisk.com - 20 months ago 2023-05-22 08:02:42
drewp@bigasterisk.com
minor
3 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light9/collector/collector.py
Show inline comments
 
@@ -214,7 +214,7 @@ class Collector:
 
                index = DmxMessageIndex(_index)
 
                outArray = pendingOut[outputUri]
 
                if outArray[index] != 0:
 
                    log.warn(f'conflict: {outputUri} output array was already nonzero at 0-based index {index}')
 
                    log.warning(f'conflict: {outputUri} output array was already nonzero at 0-based index {index}')
 
                    raise ValueError(f"someone already wrote to index {index}")
 
                outArray[index] = value
 
        return pendingOut
light9/effect/settings.py
Show inline comments
 
@@ -288,7 +288,7 @@ class DeviceSettings(_Settings):
 

	
 
@dataclass
 
class BareEffectSettings:
 
    # settings not specific to any effect
 
    # settings for an already-selected EffectClass
 
    s: Dict[EffectAttr, VTUnion]
 

	
 
    def withStrength(self, strength: float) -> BareEffectSettings:
light9/effect/simple_outputs_test.py
Show inline comments
 
new file 100644
0 comments (0 inline, 0 general)