Skip to content
Snippets Groups Projects
Verified Commit 1e3fb9b1 authored by David Hoese's avatar David Hoese
Browse files

Update debug message on legacy db insert

parent 1b5f634b
No related branches found
No related tags found
No related merge requests found
......@@ -81,8 +81,9 @@ def main():
for idx, record in enumerate(record_gen):
data = (record['stamp'], record)
LOG.info("Sending record: %s", record['stamp'].isoformat(' '))
if args.debug:
print(idx, data)
# we just want the above message
continue
failures = legacy_db.insert_records([data], station=station)
if failures:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment