Mercurial > templog
diff server/ts.py @ 100:9485da05bc11
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 17 Jul 2012 21:59:55 +0800 |
parents | b2d0887fb306 1a88bb989afb |
children | eecd2612a68e |
line wrap: on
line diff
--- a/server/ts.py Mon Jul 16 22:58:33 2012 +0800 +++ b/server/ts.py Tue Jul 17 21:59:55 2012 +0800 @@ -110,7 +110,7 @@ rem = int(toks['rem']) tick_secs = int(toks['tick_secs']) - tick_wake = int(toks['tick_wake']) + tick_wake = int(toks['tick_wake']) + 1 next_wake = int(toks['next_wake']) rem_secs = float(rem) / tick_wake * tick_secs