From: Michael Tremer Date: Mon, 23 Nov 2015 01:07:02 +0000 (+0000) Subject: sensors: Fix typo in property name X-Git-Tag: 004~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0588abeec6fd8ffcadd16bb676d1fb277a6e90a;p=collecty.git sensors: Fix typo in property name Caused an exception when "minimum" did not yield anything Signed-off-by: Michael Tremer --- diff --git a/src/collecty/plugins/sensors.py b/src/collecty/plugins/sensors.py index 7e5e438..f81f7de 100644 --- a/src/collecty/plugins/sensors.py +++ b/src/collecty/plugins/sensors.py @@ -306,7 +306,7 @@ class SensorFanObject(SensorBaseObject): ) @property - def mimimum(self): + def minimum(self): try: return self.sensor.minimum except AttributeError: