changeset 2202:54f4f5158ddf

minor
author drewp@bigasterisk.com
date Mon, 22 May 2023 01:02:42 -0700
parents 03d2f8c50a34
children 615046dfe45f
files light9/collector/collector.py light9/effect/settings.py light9/effect/simple_outputs_test.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light9/collector/collector.py	Mon May 22 01:00:47 2023 -0700
+++ b/light9/collector/collector.py	Mon May 22 01:02:42 2023 -0700
@@ -214,7 +214,7 @@
                 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
--- a/light9/effect/settings.py	Mon May 22 01:00:47 2023 -0700
+++ b/light9/effect/settings.py	Mon May 22 01:02:42 2023 -0700
@@ -288,7 +288,7 @@
 
 @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: