Skip to content

Commit 20678f4

Browse files
authored
Merge pull request #26 from auscompgeek/fix-extra-leading-slash
Fix #25
2 parents 487c6f8 + ed307d0 commit 20678f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynetworktables2js/nt_serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, update_callback):
2525
def process_update(self, update):
2626
"""Process an incoming update from a remote NetworkTables"""
2727
data = json.loads(update)
28-
NetworkTables.putValue(data['k'], data['v'])
28+
NetworkTables.getEntry(data['k']).setValue(data['v'])
2929

3030
def _send_update(self, data):
3131
"""Send a NetworkTables update via the stored send_update callback"""

0 commit comments

Comments
 (0)