diff options
| author | Aaron Perley <aaron.perley@gmail.com> | 2016-10-11 02:08:21 -0400 |
|---|---|---|
| committer | Aaron Perley <aaron.perley@gmail.com> | 2016-10-11 02:08:21 -0400 |
| commit | 08488f68e26d673455a02407b33d72577eb54326 (patch) | |
| tree | a7f855c13300287699ae085839176dfa9873925a | |
| parent | 2d37dd487f0571ce94a0e4e966931dd6697d685f (diff) | |
| download | bridge-08488f68e26d673455a02407b33d72577eb54326.tar.zst | |
Add back show testing main function in bridge.py
| -rwxr-xr-x | bridge.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -35,4 +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, send_queue=Queue.Queue(), recv_queue=Queue.Queue()) + #show = SunriseShow(bridge) + show.run(framerate=FRAME_RATE) +if __name__ == '__main__': + main() |
