comparison py/fridge.py @ 158:a6612745b4a3

fix fridge_on_time
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 Jan 2013 22:31:12 +0800
parents d686b111dab4
children d73077e8cd67
comparison
equal deleted inserted replaced
157:6d799bee3508 158:a6612745b4a3
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()