This website works better with JavaScript.
Home
Help
Register
Sign In
nilm
/
nilmtools
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
45
Wiki
Activity
Browse Source
Send pending data after each block
tags/nilmtools-1.0
Jim Paris
11 years ago
parent
9078a014ae
commit
4e5907f381
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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:]
Write
Preview
Loading…
Cancel
Save