changeset 457:176fc5b68a3f

fix fridge_on_time
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 Jan 2013 22:31:12 +0800
parents 3db3665af2e2
children bd01dca5f5b4
files py/fridge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/py/fridge.py	Thu Jan 03 20:12:07 2013 +0800
+++ b/py/fridge.py	Tue Jan 08 22:31:12 2013 +0800
@@ -126,4 +126,4 @@
             if turn_on:
                 L("Turning fridge on")
                 self.on()
-                fridge_on_clock = self.server.now()
+                self.fridge_on_clock = self.server.now()