Commit 10f6f1ae authored by Otto Jonassen Wittner's avatar Otto Jonassen Wittner
Browse files

Made linkloads operative again

parent 639671af
......@@ -8,7 +8,7 @@ class Config():
'max_metric': 63,
'use_areas': 1,
'use_linkloads': 1,
'linkloads_host': 'drift.uninett.no',
'linkloads_host': 'stats.uninett.no',
'linkloads_url': '/nett/ip-nett/load-now'
}
......
......@@ -95,6 +95,8 @@ def read_linkloads(G, host, url):
return {}
conn.close()
data1 = data1.decode("utf-8") # Convert input data to string
loads_by_descr = {}
retloads = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment