Browse Source

Fix import

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

+ 2
- 2
insert.py View File

@@ -1,6 +1,6 @@
#!/usr/bin/python

import nilmdb
import nilmdb.client
from nilmdb.utils.printf import *
from nilmdb.utils.time import parse_time, format_time

@@ -40,7 +40,7 @@ args = parser.parse_args()
printf("Stream path: %s\n", args.path)
printf(" Data rate: %s Hz\n", repr(args.rate))

client = nilmdb.Client(args.url)
client = nilmdb.client.Client(args.url)

# Local copies to save dictionary lookups
live = args.live


Loading…
Cancel
Save