diff --git a/ait/gui/__init__.py b/ait/gui/__init__.py index 356b155c..89e9e251 100644 --- a/ait/gui/__init__.py +++ b/ait/gui/__init__.py @@ -799,7 +799,6 @@ def handle(): while not wsock.closed: try: name, delta, dntoeus, counter = session.deltas.popleft(timeout=30) - log.info('packet #{}'.format(counter)) wsock.send(json.dumps({ 'packet': name, @@ -830,7 +829,6 @@ def handle(): for pkt_type, state in packet_states.items(): packet_states[pkt_type]['raw'] = replace_datetimes(state['raw']) - log.info(packet_states) with Sessions.current() as session: counters = session.tlm_counters return json.dumps({'states': packet_states, diff --git a/ait/gui/static/js/ait/gui/Field.js b/ait/gui/static/js/ait/gui/Field.js index fbc1b373..ee68b445 100644 --- a/ait/gui/static/js/ait/gui/Field.js +++ b/ait/gui/static/js/ait/gui/Field.js @@ -291,8 +291,7 @@ const Field = }, onbeforeupdate (vnode, old) { - let changed = this.hasChanged() - return changed + return this.hasChanged() }, view (vnode) { diff --git a/ait/gui/static/js/ait/gui/index.js b/ait/gui/static/js/ait/gui/index.js index 15360bc2..c7c91897 100644 --- a/ait/gui/static/js/ait/gui/index.js +++ b/ait/gui/static/js/ait/gui/index.js @@ -199,8 +199,6 @@ function init () { m.request({ url: '/tlm/latest' }).then((latest) => { ait.tlm.state = latest - console.log('requested latest tlm') - console.log(ait.tlm.state) }) m.mount(root, { view: () => createMithrilNodes(elems) })