Skip to content

Commit

Permalink
Fix Remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Ritchford committed Dec 1, 2018
1 parent d544509 commit bbf8c4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bibliopixel/animation/remote/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ def __init__(self, *args, name_map, external_access=False, port=5000,
target=trigger_process.run_trigger,
args=(typename, self.q_recv, events, kwargs))

for a in self.animations:
a.top_level = True

def cleanup(self, clean_layout=True):
self.q_recv.close()
for q in self.send_queues.values():
Expand Down Expand Up @@ -222,6 +225,7 @@ def get_config(self, data):
return True, resp

def pre_run(self):
super().pre_run()
self.server.start()
for proc in self.trigger_procs.values():
proc.start()
Expand Down

0 comments on commit bbf8c4a

Please sign in to comment.