diff options
Diffstat (limited to 'pyhwmon/hwmon.py')
-rw-r--r-- | pyhwmon/hwmon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyhwmon/hwmon.py b/pyhwmon/hwmon.py index a91b761..d662213 100644 --- a/pyhwmon/hwmon.py +++ b/pyhwmon/hwmon.py @@ -55,7 +55,7 @@ class Hwmons(): with open(filename, 'w') as f: f.write(str(value)+'\n') - def should_update(attribute, value): + def should_update(self, attribute, value): if attribute not in self.cache: self.cache[attribute] = value return True |