# HG changeset patch # User drewp@bigasterisk.com # Date 1402730155 0 # Node ID a073565e826e662d4003b386eb7594aff10f1142 # Parent 05f272019697579e135a745de6887eff3c17a020 ..without recursion Ignore-this: e7253119486933c21541bf5e7115b745 diff -r 05f272019697 -r a073565e826e light9/Effects.py --- 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