summaryrefslogtreecommitdiffstats
path: root/glances/web_list.py
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2018-12-03 21:12:56 +0100
committernicolargo <nicolas@nicolargo.com>2018-12-03 21:12:56 +0100
commitc6ddc13acbd4c51ef23c161e8bfae194c9db7097 (patch)
treeb8b384e4c94783d1db3cd3f7fcd076d8bc2e337e /glances/web_list.py
parentc3d6b1b10f2e43d59cd919be93b0ce9548b11ca5 (diff)
Ok for Web and Port
Diffstat (limited to 'glances/web_list.py')
-rw-r--r--glances/web_list.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/glances/web_list.py b/glances/web_list.py
index 423594a2..cf72177c 100644
--- a/glances/web_list.py
+++ b/glances/web_list.py
@@ -95,6 +95,9 @@ class GlancesWebList(object):
# Convert to second
new_web['rtt_warning'] = int(new_web['rtt_warning']) / 1000.0
+ # Indice
+ new_web['indice'] = 'web_' + str(i)
+
# Add the server to the list
logger.debug("Add Web URL %s to the static list" % new_web['url'])
web_list.append(new_web)