diff --git a/src/OXM/oxcSERVER.py b/src/OXM/oxcSERVER.py index edfe306..256a17f 100644 --- a/src/OXM/oxcSERVER.py +++ b/src/OXM/oxcSERVER.py @@ -453,10 +453,10 @@ class oxcSERVER(oxcSERVERvm,oxcSERVERhost,oxcSERVERproperties,oxcSERVERstorage,o desc = data_source['name_description'] if not name[:3] in ds.keys(): ds[name[:3]] = [] - if ds[name[:3]].count([name, desc]) == 0: - if name not in ("memory_internal_free", "xapi_free_memory_kib", "xapi_memory_usage_kib", "xapi_live_memory_kib") \ - and name[:6] != "pif___": - ds[name[:3]].append([name, desc]) + if ds[name[:3]].count([name, desc]) == 0: + if name not in ("memory_internal_free", "xapi_free_memory_kib", "xapi_memory_usage_kib", "xapi_live_memory_kib") \ + and name[:6] != "pif___": + ds[name[:3]].append([name, desc]) if host: if os.path.exists(os.path.join(self.wine.pathconfig, "host_rrds.rrd")): os.unlink(os.path.join(self.wine.pathconfig, "host_rrds.rrd"))