freifunk_node: fix

This commit is contained in:
Astro 2020-04-16 23:05:51 +02:00
parent 73c252cd24
commit 12d71258cf

View File

@ -11,7 +11,7 @@ data = JSON.parse open("http://#{HOST}/sysinfo-json.cgi").read()
$node_id = data['data']['common']['node'] $node_id = data['data']['common']['node']
$node_name = URI::decode(data['data']['contact']['name']) $node_name = URI::decode(data['data']['contact']['name'])
.replace(/\+/g, " ") .gsub(/\+/, " ")
$points = [] $points = []
$values = {} $values = {}