summaryrefslogtreecommitdiffstats
path: root/bridge.py
diff options
context:
space:
mode:
authorRaymond Hogenson <rayhogenson@openmailbox.org>2016-09-27 23:38:09 -0400
committerRaymond Hogenson <rayhogenson@openmailbox.org>2016-09-27 23:38:09 -0400
commit7d0c89c9b7fd9789b3331dee7c785da6b37ccd85 (patch)
treed88e6345673ea8da9c3b1281c0948fdb8ea0fd35 /bridge.py
parented0c631003b556e2e84f21bf4ebbf03891763641 (diff)
downloadbridge-7d0c89c9b7fd9789b3331dee7c785da6b37ccd85.tar.zst
Fix many syntax errors and typos
Diffstat (limited to 'bridge.py')
-rwxr-xr-x[-rw-r--r--]bridge.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bridge.py b/bridge.py
index 7271db8..87b339c 100644..100755
--- a/bridge.py
+++ b/bridge.py
@@ -17,8 +17,10 @@ def get_all_lights(rig):
"""Return a list of all panels."""
return [
[
- rig.select('$side={y}[$sequence={x}]'.format({'y': y, 'x': x}))
- for y in ('top', 'bot')
+ fish_render.Light(
+ x, int(y == 'top'),
+ rig.select('$side={y}[$sequence={x}]'.format(y=y, x=x))
+ ) for y in ('top', 'bot')
] for x in xrange(1, 200)
]