Browse Source

Fix bug in copy_one

tags/nilmtools-1.4.4
Jim Paris 8 years ago
parent
commit
c1e0f8ffbc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nilmtools/copy_one.py

+ 1
- 1
nilmtools/copy_one.py View File

@@ -32,7 +32,7 @@ def main(argv = None):
extractor = NumpyClient(f.src.url).stream_extract_numpy
inserter = NumpyClient(f.dest.url).stream_insert_numpy_context
for i in f.intervals():
print "Processing", f.interval_string(i)
print "Processing", i.human_string()
with inserter(f.dest.path, i.start, i.end) as insert_ctx:
for data in extractor(f.src.path, i.start, i.end):
insert_ctx.insert(data)


Loading…
Cancel
Save