diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-24 08:12:50 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-24 13:17:29 -0400 |
commit | 3e47968a8d3fbf1a4345ef8f4907f73436c0f3af (patch) | |
tree | 2440b3da89111f6707195cfdf6d26c0a60abc0e4 | |
parent | 57f67f07c8d5c8bc73dc0cd3440c8a44fafa6941 (diff) | |
download | blackbird-skeleton-3e47968a8d3fbf1a4345ef8f4907f73436c0f3af.tar.gz blackbird-skeleton-3e47968a8d3fbf1a4345ef8f4907f73436c0f3af.zip |
Revert "Fix broken attempt at hwmon caching"
This reverts commit 8224ff87c914861d28ed0dc6a251ba213a9ee607.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-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 e7821f4..d9c1353 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(self, attribute, value): + def should_update(attribute, value): if attribute not in self.cache: self.cache[attribute] = value return True |