summaryrefslogtreecommitdiffstats
path: root/bridge.py
diff options
context:
space:
mode:
authorRaymond Hogenson <rayhogenson@openmailbox.org>2016-10-15 10:06:20 -0400
committerRaymond Hogenson <rayhogenson@openmailbox.org>2016-10-15 10:06:20 -0400
commitc4999bbbfdbca65986e876ac78863041e85cfbe4 (patch)
treeb3f300c16fb369061ea7139c3e3684e7eac8a924 /bridge.py
parent2dd0795104b14fbb7aeee95f9f6bcf349f119960 (diff)
parentad2fbe28d4e345c9b100f47eef2da0b8f76ff9a5 (diff)
downloadbridge-c4999bbbfdbca65986e876ac78863041e85cfbe4.tar.zst
Merge branch 'master' of github.com:rayhogenson/bridge
Diffstat (limited to 'bridge.py')
-rwxr-xr-xbridge.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bridge.py b/bridge.py
index 26beb24..c5f832d 100755
--- a/bridge.py
+++ b/bridge.py
@@ -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()