Browse Source

Fix message

tags/nilmtools-0.1
Jim Paris 8 years ago
parent
commit
eeb13a4f5e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      insert.py

+ 2
- 2
insert.py View File

@@ -59,9 +59,9 @@ def print_clock_updated():
if data_ts_base != 0:
diff = data_ts - clock_ts
if diff >= 0:
printf(" (data timestamp ahead by %.6fs)\n", diff)
printf(" (data timestamp ahead by %.6f sec)\n", diff)
else:
printf(" (data timestamp behind by %.6fs)\n", diff)
printf(" (data timestamp behind by %.6f sec)\n", -diff)

with client.stream_insert_context(args.path) as stream:
for f in args.infile:


Loading…
Cancel
Save