Browse Source

Send pending data after each block

tags/nilmtools-1.0
Jim Paris 11 years ago
parent
commit
4e5907f381
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/filter.py

+ 3
- 0
src/filter.py View File

@@ -359,6 +359,9 @@ class Filter(object):
processed = function(array, interval, args,
insert_function, False)

# Send any pending data
insert_ctx.send()

# Save the unprocessed parts
if processed > 0:
old_array = array[processed:]


Loading…
Cancel
Save