]> git.ipfire.org Git - collecty.git/commitdiff
sensors: Fix typo in property name
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Nov 2015 01:07:02 +0000 (01:07 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Nov 2015 01:07:02 +0000 (01:07 +0000)
Caused an exception when "minimum" did not yield anything

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/plugins/sensors.py

index 7e5e438f961702d31cde89423014d8ad1992c74f..f81f7dea53e6b07e8aafe3ee701b9e99207e66f4 100644 (file)
@@ -306,7 +306,7 @@ class SensorFanObject(SensorBaseObject):
                )
 
        @property
                )
 
        @property
-       def mimimum(self):
+       def minimum(self):
                try:
                        return self.sensor.minimum
                except AttributeError:
                try:
                        return self.sensor.minimum
                except AttributeError: