comparison py/fridge.py @ 457:176fc5b68a3f

fix fridge_on_time
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 Jan 2013 22:31:12 +0800
parents fe729664a5e6
children d73077e8cd67
comparison
equal deleted inserted replaced
456:3db3665af2e2 457:176fc5b68a3f
124 turn_on = True 124 turn_on = True
125 125
126 if turn_on: 126 if turn_on:
127 L("Turning fridge on") 127 L("Turning fridge on")
128 self.on() 128 self.on()
129 fridge_on_clock = self.server.now() 129 self.fridge_on_clock = self.server.now()