diff options
Diffstat (limited to 'bridge.py')
| -rwxr-xr-x | bridge.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -35,11 +35,13 @@ class Bridge(object): for x in xrange(1, self.WIDTH+1)] - def main(): + """Just for testing. Use ShowRunner when running the show for real.""" + import Queue bridge = Bridge() - show = FishShow(bridge) + show = FishShow(bridge, send_queue=Queue.Queue(), recv_queue=Queue.Queue()) #show = SunriseShow(bridge) show.run(framerate=FRAME_RATE) -main() +if __name__ == '__main__': + main() |
