diff options
-rw-r--r-- | Profile.py | 2 | ||||
-rw-r--r-- | util/ColorOps.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ import cProfile from LightInstallation import main -command = """main(['', 'config/6thFloor.xml'])""" +command = """main(['', 'config/Kuan.xml'])""" cProfile.runctx(command, globals(), locals(), filename="smootlight.profile") diff --git a/util/ColorOps.py b/util/ColorOps.py index 037957a..e384605 100644 --- a/util/ColorOps.py +++ b/util/ColorOps.py @@ -11,6 +11,8 @@ def safeColor(c): c[0] = c[0] if c[0] < 255 else 255 c[1] = c[1] if c[1] < 255 else 255 c[2] = c[2] if c[2] < 255 else 255 + + return c def combineColors(colors): |