Browse Source

Fix error message when decimate target is missing

tags/nilmtools-1.0
Jim Paris 11 years ago
parent
commit
974c9a3050
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/decimate.py

+ 1
- 1
src/decimate.py View File

@@ -21,7 +21,7 @@ def main():
dest = e.dest
print "Source is %s (%s)" % (src.path, src.layout)
print "Destination %s doesn't exist" % (dest.path)
if "decimate_source" in f.client.stream_get_metadata(src.path):
if "decimate_source" in f.client_src.stream_get_metadata(src.path):
rec = src.layout
elif 'int32' in src.layout_type or 'float64' in src.layout_type:
rec = 'float64_' + str(src.layout_count * 3)


Loading…
Cancel
Save