diff web/log.py @ 559:d563e14da813

fix server side long polling
author Matt Johnston <matt@ucc.asn.au>
date Tue, 09 Jun 2015 23:29:11 +0800
parents 9499bd2f344b
children 6c14e0573f50
line wrap: on
line diff
--- a/web/log.py	Tue Jun 09 21:22:10 2015 +0800
+++ b/web/log.py	Tue Jun 09 23:29:11 2015 +0800
@@ -247,8 +247,8 @@
     tick_secs = int(entries['tick_secs'])
     return val_ticks + float(val_rem) * tick_secs / tick_wake
 
-def write_current_params(current_params):
-    fridge_settings.update(current_params)
+def write_current_params(current_params, current_epoch):
+    fridge_settings.update(current_params, current_epoch)
 
 def read_current_params():
     params, epochtag = fridge_settings.get()