Skip to content

Commit

Permalink
Remove unecessary changes (debug prints, etc.) (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
aywaldron authored and Futabay committed May 19, 2020
1 parent a074583 commit 1e7be37
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions ait/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions ait/gui/static/js/ait/gui/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,7 @@ const Field =
},

onbeforeupdate (vnode, old) {
let changed = this.hasChanged()
return changed
return this.hasChanged()
},

view (vnode) {
Expand Down
2 changes: 0 additions & 2 deletions ait/gui/static/js/ait/gui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) })
Expand Down

0 comments on commit 1e7be37

Please sign in to comment.