-
Committer:
Alex Chiang
-
Date:
2010-12-05 22:30:31 UTC
-
Revision ID:
alex@chizang.net-20101205223031-imectjfyrjwth9x5
Fix "zero days" count
We can no longer naively use the count() function to figure out how many
days had zero flow. This is because instead of storing the flow data
directly in the years{} dict, we are now storing a (date, flow) tuple.
The fix is simple: loop through the (date, flow) tuples and count them
manually.