freifunk_node: replace + in node_name

This commit is contained in:
Astro 2020-04-16 22:33:17 +02:00
parent cc183265f8
commit 73c252cd24
1 changed files with 2 additions and 1 deletions

View File

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