]> git.ipfire.org Git - collecty.git/blobdiff - src/collecty/plugins/sensors.py
Merge branch 'master' of ssh://git.ipfire.org/pub/git/collecty
[collecty.git] / src / collecty / plugins / sensors.py
index 8e890a90ebdd1af4351a88fd77e56386200cd39d..56acca40592de69a2441c942e45a969147a2817f 100644 (file)
@@ -117,8 +117,8 @@ class GraphTemplateSensorsProcessorTemperature(base.GraphTemplate):
 
                for core in self.objects:
                        id = "core%s" % counter
-                       counter += 1
                        ids.append(id)
+                       counter += 1
 
                        rrd_graph += core.make_rrd_defs(id) + [
                                # Convert everything to celsius