summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 15:31:28 +0000
committerroot <root@turin.home>2022-01-30 15:31:28 +0000
commit276ef8a13d4ee8c35a9ca470af12aa63146d1d36 (patch)
tree23f019e81c074040058f588105e8ecbccf966397
parent31326f43d9c05f826373a51dd011bd425bc66ef5 (diff)
Minor error, heating on
-rw-r--r--heating.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heating.py b/heating.py
index fe8030d..472b00a 100644
--- a/heating.py
+++ b/heating.py
@@ -38,7 +38,7 @@ class heating(ABC):
)
self.db.exec(
"insert into history values (?,?,?)",
- (self.date.day(), self.date.time(), heatingon(int))
+ (self.date.day(), self.date.time(), int(self.on))
)
"""