changeset 1138:a073565e826e

..without recursion Ignore-this: e7253119486933c21541bf5e7115b745
author drewp@bigasterisk.com
date Sat, 14 Jun 2014 07:15:55 +0000
parents 05f272019697
children d8b25edf6c74
files light9/Effects.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/Effects.py	Sat Jun 14 07:14:06 2014 +0000
+++ b/light9/Effects.py	Sat Jun 14 07:15:55 2014 +0000
@@ -42,7 +42,7 @@
 class Blacklight(float):
     """a level for the blacklight PWM output"""
     def __mul__(self, f):
-        return Blacklight(self * f)
+        return Blacklight(float(self) * f)
     __rmul__ = __mul__
     
 @register