diff --git a/ekgplotter/ekgplotter/main.py b/ekgplotter/ekgplotter/main.py index a870ce4..dc8dfa1 100644 --- a/ekgplotter/ekgplotter/main.py +++ b/ekgplotter/ekgplotter/main.py @@ -136,7 +136,10 @@ class OSCThread(threading.Thread): def run(self): while self.running: - reads, writes, errs = select.select([self.osc_sock], [], [], 0.05) + try: + reads, writes, errs = select.select([self.osc_sock], [], [], 0.05) + except select.error: + pass if reads: osc_input = self.osc_sock.recv(256) osc_address, typetags, messages = decode_osc(osc_input, 0, len(osc_input)) @@ -237,11 +240,11 @@ class Actor(object): class EkgPlot(object): def __init__(self, actor_names, num_data, colors): - self.plot = pg.PlotWidget(title="