Mercurial > templog
diff py/fridge.py @ 448:fe729664a5e6
working better. logging works properly, cleanup fridge.off() happens.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 16 Dec 2012 22:14:46 +0800 |
parents | 8fdf86ea41e7 |
children | a6612745b4a3 |
line wrap: on
line diff
--- a/py/fridge.py Sat Dec 15 23:49:08 2012 +0800 +++ b/py/fridge.py Sun Dec 16 22:14:46 2012 +0800 @@ -15,7 +15,7 @@ self.setup_gpio() self.wort_valid_clock = 0 self.fridge_on_clock = 0 - self.fridge_off_clock = 0 + self.fridge_off_clock = server.now() def setup_gpio(self): dir_fn = '%s/direction' % config.FRIDGE_GPIO